mirror of
https://github.com/boostorg/array.git
synced 2026-01-24 05:32:11 +00:00
This commit was manufactured by cvs2svn to create tag
'Version_1_17_0'. [SVN r8293]
This commit is contained in:
@@ -71,12 +71,11 @@ int main()<BR>
|
||||
<< std::endl;<BR>
|
||||
}<BR>
|
||||
<BR>
|
||||
typedef boost::array<double,6> DArray;<BR>
|
||||
typedef boost::array<int,6> IArray;<BR>
|
||||
IArray ia = { 1, 2, 3, 4, 5, 6 };<BR>
|
||||
DArray da;<BR>
|
||||
da = ia;<BR>
|
||||
da.assign(42);<BR>
|
||||
<I><FONT face="Arial,Helvetica,sans-serif" color="0000FF" >//typedef boost::array<double,6> DArray;</FONT></I><BR>
|
||||
<I><FONT face="Arial,Helvetica,sans-serif" color="0000FF" >//typedef boost::array<int,6> IArray;</FONT></I><BR>
|
||||
<I><FONT face="Arial,Helvetica,sans-serif" color="0000FF" >//IArray ia = { { 1, 2, 3, 4, 5, 6 } };</FONT></I><BR>
|
||||
<I><FONT face="Arial,Helvetica,sans-serif" color="0000FF" >//DArray da;</FONT></I><BR>
|
||||
<I><FONT face="Arial,Helvetica,sans-serif" color="0000FF" >//da.assign(ia);</FONT></I><BR>
|
||||
}<BR>
|
||||
<BR>
|
||||
</SPAN>
|
||||
|
||||
Reference in New Issue
Block a user