Map
Index
Random
Help
th

Quote: a 'const' reference can be the address of an initialized temporary; allows flexible initialization; useful for function arguments

topics > all references > references sa-sz > QuoteRef: stroB_1991 , p. 62



Topic:
safe use of pointers
Topic:
alias names
Topic:
named constants and expressions

Quotation Skeleton

the initializer for a 'const T&' need not … [the reference is the address of a temporary variable containing a value of type T]. … [This can not be used for variables because the address of a temporary is volatile.] No such problem exists for references to …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: safe use of pointers (102 items)
Topic: alias names (39 items)
Topic: named constants and expressions (21 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.