Show
Ignore:
Timestamp:
09/19/10 02:11:27 (2 years ago)
Author:
walter
Message:

typography

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docsrc/cpptod.dd

    r659 r2040  
    163163 
    164164    There's a nasty bug lurking in the memcmp() implementation of operator==(). 
    165     The layout of a struct, due to alignment, can have 'holes' in it. 
     165    The layout of a struct, due to alignment, can have $(SINGLEQUOTE holes) in it. 
    166166    C++ does not guarantee those holes are assigned any values, and so 
    167167    two different struct instances can have the same value for each member, 
     
    524524    than the class definition. 
    525525    It obviates the wordy practice of defining get and set properties 
    526     'just in case' a derived class should need to override them. 
     526    $(SINGLEQUOTE just in case) a derived class should need to override them. 
    527527    It's also a way to have interface classes, which do not have 
    528528    data fields, behave syntactically as if they did.