version 2.2.1

std::initializer_list supports for vector and dequeue
This commit is contained in:
2020-08-14 18:00:28 +03:00
parent e76a07a3f3
commit 31f0d88157
6 changed files with 21 additions and 1 deletions

View File

@@ -49,6 +49,9 @@ PIVector<char> vec(4u, 'p');
piForeachC (char i, vec)
cout << i << ", ";
// p, p, p, p,
piCout << PIVector<int>({1, 2, 3});
// 1, 2, 3
//! [PIVector::PIVector]
//! [PIVector::at_c]
PIVector<int> vec;