Next:
Default Constructible
Up:
Basic concepts
Previous:
Basic concepts
Subsections
Notations
Valid Expressions
Assignable
This is concept is defined in the
STL
.
Notations
A
A type that is a model of Assignable
a,b
objects of type A
Valid Expressions
Copy Constructor
A(a)
Return type:
A
Semantics:
A(a)
is a copy of
a
Copy Constructor
A a(b)
Return type:
A
Semantics:
a
is a copy of
b
Assignment
a=b
Return type:
A
Semantics:
b
is assigned to
a
nicolas
2002-05-07