Commit 438c9b90 authored by Henry Weller's avatar Henry Weller
Browse files

Test-List: Add demonstration of C++11 initializer list in conjunction with...

Test-List: Add demonstration of C++11 initializer list in conjunction with uniform initialization of vector

     List<vector> list5
     {
         {5, 3, 1},
         {10, 2, 2},
         {8, 1, 0}
     };
parent d439ec4d
......@@ -95,9 +95,9 @@ int main(int argc, char *argv[])
List<vector> list5
{
vector(5, 3, 1),
vector(10, 2, 2),
vector(8, 1, 0)
{5, 3, 1},
{10, 2, 2},
{8, 1, 0}
};
Info<< "list5: " << list5 << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment