T | is type that is a model of CopyConstructible |
t | is an object of type T |
u | is an object of type const T |
Name | Expression | Return type | Semantics |
---|---|---|---|
Copy constructor | T(t) | T | t is equivalent to T(t) |
Copy constructor |
T(u) |
T | u is equivalent to T(u) |
Destructor |
t.~T() |
T | |
Address Operator |
&t |
T* | denotes the address of t |
Address Operator |
&u |
T* | denotes the address of u |
Copyright © 2000 | Jeremy Siek, Univ.of Notre Dame (jsiek@lsc.nd.edu) |