1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
5 <meta http-equiv=
"Content-Language" content=
"en-us">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
8 <title>Assignable
</title>
11 <body bgcolor=
"#FFFFFF" link=
"#0000EE" text=
"#000000" vlink=
"#551A8B" alink=
13 <img src=
"../../boost.png" alt=
"C++ Boost" width=
"277" height=
14 "86"><br clear=
"none">
20 <p>A type is Assignable if it is possible to assign one object of the type
21 to another object of that type.
</p>
27 <td valign=
"top"><tt>T
</tt></td>
29 <td valign=
"top">is type that is a model of Assignable
</td>
33 <td valign=
"top"><tt>t
</tt></td>
35 <td valign=
"top">is an object of type
<tt>T
</tt></td>
39 <td valign=
"top"><tt>u
</tt></td>
41 <td valign=
"top">is an object of type
<tt>T
</tt> or possibly
<tt>const
48 <h3>Valid expressions
</h3>
50 <table border
summary=
"">
62 <td valign=
"top">Assignment
</td>
64 <td valign=
"top"><tt>t = u
</tt></td>
66 <td valign=
"top"><tt>T
&</tt></td>
68 <td valign=
"top"><tt>t
</tt> is equivalent to
<tt>u
</tt></td>
77 <li><tt>std::pair
</tt></li>
83 "http://www.sgi.com/tech/stl/DefaultConstructible.html">DefaultConstructible
</a>
84 and
<a href=
"./CopyConstructible.html">CopyConstructible
</a><br></p>
87 <p><a href=
"http://validator.w3.org/check?uri=referer"><img border=
"0" src=
88 "../../doc/images/valid-html401.png" alt=
"Valid HTML 4.01 Transitional"
89 height=
"31" width=
"88"></a></p>
92 <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->05 December,
2006<!--webbot bot="Timestamp" endspan i-checksum="38516" --></p>
96 <td nowrap
><i>Copyright
© 2000</i></td>
98 <td><i><a href=
"http://www.lsc.nd.edu/~jsiek">Jeremy Siek
</a>, Univ.of
100 "mailto:jsiek@lsc.nd.edu">jsiek@lsc.nd.edu
</a>)
</i></td>
104 <p><i>Distributed under the Boost Software License, Version
1.0. (See
105 accompanying file
<a href=
"../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
107 "http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt
</a>)
</i></p>