Fixed compatibility with old compilers

This commit is contained in:
Alexander Zaitsev committed 2017-07-19 02:15:06 +03:00
1 parent e07e8e65c6
commit 15c7ff3828
3 files changed
+72 -26

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ namespace ba = boost::algorithm;
int main ( int /*argc*/, char * /*argv*/ [] )
{
// WARNING: Example require C++11 or newer compiler
{
std::cout << "apply_permutation with iterators:\n";
std::vector<int> vec{1, 2, 3, 4, 5}, order{4, 2, 3, 1, 0};