FixedList: Added void operator=(std::initializer_list<T>)

This commit is contained in:
Henry Weller
2016-08-11 22:02:05 +01:00
parent 275a59af66
commit c4f844a68b
3 changed files with 74 additions and 61 deletions

View File

@ -76,6 +76,9 @@ int main(int argc, char *argv[])
Info<< "list3: " << list3 << nl
<< "list4: " << list4 << endl;
list4 = {1, 2, 3, 5};
Info<< "list4: " << list4 << nl;
FixedList<label, 5> list5{0, 1, 2, 3, 4};
Info<< "list5: " << list5 << endl;