Fixed compatibility with old compilers

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

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};