VirtualBox

Changeset 80879 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Sep 18, 2019 10:32:56 AM (5 years ago)
Author:
vboxsync
Message:

com/string.h: comments and hiding default constructors for format string constructor classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r80851 r80879  
    12701270
    12711271/**
    1272  * The BstrFmt class is a shortcut to <tt>Bstr().printf()</tt>.
     1272 * Class with Bstr::printf as constructor for your convenience.
    12731273 */
    12741274class BstrFmt : public Bstr
     
    12931293
    12941294    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     1295
     1296protected:
     1297    BstrFmt()
     1298    { }
    12951299};
    12961300
    12971301/**
    1298  * The BstrFmtVA class is a shortcut to <tt>Bstr().printfV()</tt>.
     1302 * Class with Bstr::printfV as constructor for your convenience.
    12991303 */
    13001304class BstrFmtVA : public Bstr
     
    13161320
    13171321    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     1322
     1323protected:
     1324    BstrFmtVA()
     1325    { }
    13181326};
    13191327
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette