Index
[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [Z]
object 2nd 3rd
auto_ptr
automatic 2nd
constructor
destructor
exception
function
is not polymorphic
local static 2nd
temporary
object cleanup [See destructor]
object creation
constructor
order of construction
derived objects 2nd
multiple base classes
virtual base classes
order of destruction
derived objects
multiple base classes
virtual base classes
object file
object lifetime 2nd
and destructor
compared to scope
object-oriented programming 2nd 3rd
key ideas in
oct manipulator
octal escape sequence (\ nnn)
octal, literal (0 num)
off-the-end iterator 2nd 3rd
istream_iterator,
off-the-end pointer
ofstream 2nd [See also ostream]
close
constructor
file marker
file mode
combinations
example
file random access
off_type,
open
pos_type,
random IO sample program
open
open_file program
open_file, example of 2nd
operand 2nd
order of evaluation
comma operator
conditional operator
logical operator
operator 2nd
addition (+)
iterator 2nd
pointer
string
address-of (&)
arrow (->)
class member access
assignment (=) 2nd 3rd
and conversion
and equality
container
multiple inheritance
pointer
string
to signed
to unsigned
yields lvalue
binary 2nd
bitwise AND (&)
bitwise exclusive or (^)
bitwise not (~)
bitwise OR (|)
bitwise OR (|), example
call (()) 2nd
comma (, )
operand order of evaluation
comma (, ), example
compound assginment (e.g.,+=), iterator
compound assignment (e.g.,+=) 2nd 3rd
arithmetic
bitwise
string
conditional (?:)
operand order of evaluation
decrement (--)
iterator
prefix yields lvalue
reverse iterator
dereference (*)
and increment
iterator
on map yields pair
pointer
sizeof
typeid 2nd
yields lvalue 2nd
operator alternative name
operator delete [] member
operator delete function 2nd
compared to deallocate
compared to delete expression
operator delete member
and inheritance
CachedObj
example
interface
operator new [] member
operator new function 2nd
compared to allocate
compared to new expression
operator new member
CachedObj
example
interface
operator overloading [See overloaded operator]
options to main
order of construction 2nd
derived objects 2nd
multiple base classes
virtual base classes
order of destruction 2nd
derived objects
multiple base classes
virtual base classes
order of evaluation 2nd
comma operator
conditional operator
logical operator
ordering, strict weak 2nd
OrQuery
definition
eval function
ostream 2nd 3rd [See also manipulator]
condition state
floatfield member
flushing output buffer
format state
inheritance hierarchy
no containers of
no copy or assign
not flushed if program crashes
output (<<)
precedence and associativity
precision member
seek and tell members
tie member
unsetf member
ostream_iterator, 2nd
and class type
constructors
limitations
operations
output iterator
output operator (<<)
used with algorithms
ostringstream 2nd [See also ostream]
str
out (file mode)
out_of__stock,
out_of_range, 2nd
output (<<) 2nd 3rd 4th
bitset 2nd
ostream_iterator, 2nd
overloaded operator
formatting
must be nonmember
precedence and associativity 2nd
Sales_item,
string 2nd 3rd
output iterator 2nd
output, standard
overflow
overflow_error,
overload resolution [See function matching]
overloaded 2nd 3rd 4th
overloaded function 2nd
compared to redeclaration
compared to template specialization
friend declaration
linkage directive
namespaces
scope
using declarations
using directive
virtual
overloaded member function
on const
overloaded operator 2nd 3rd
& (address-of)
&& (logical AND)
() (call operator)
* (dereference)
, (comma operator)
-> (arrow operator)
<< (output operator)
formatting
must be nonmember
Sales_item,
= (assignment) 2nd 3rd
and copy constructor
check for self-assignment
Message
reference return 2nd
rule of three
use counting 2nd
valuelike classes
>> (input operator)
error handling
must be nonmember
[ ](subscript)
reference return
addition (+), Sales_item,
ambiguous
arithmetic operators
as virtual function
binary operator
candidate functions
compound assignment (e.g.,+=)
Sales_item,
consistency between relational and equality operators
definition 2nd
design
equality operators 2nd
explicit call to
explicit call to postfix operators
function matching
member and this pointer
member vs. nonmember function 2nd
postfix increment (++) and decrement (--) operators
precedence and associativity
prefix increment (++) and decrement (--) operators
relational operators 2nd
require class-type parameter
unary operator
|| (logical OR)
overloading [See overloaded function]
operator [See overloaded operator]
|