Anonymous user
Array Initialization: Difference between revisions
→D: Looks like it's covered
(→Common Lisp: Migrated) |
(→D: Looks like it's covered) |
||
Line 104:
std::vector v3(a, a+10); // a vector containing 10 ints, initialized with the elements of a (i.e. v3[0]==a[0] etc.)
std::vector v4 = v3; // v4 is a copy of v3
</lang>
|