C++ 2017 -

print("temporary"); // no allocation Most STL algorithms gained execution policy overloads: seq , par , par_unseq .

std::any a = 42; int value = std::any_cast<int>(a); Non-owning reference to a string-like sequence. Ideal for function parameters. c++ 2017

namespace fs = std::filesystem; for (auto& p : fs::directory_iterator(".")) std::cout << p.path() << '\n'; par_unseq . std::any a = 42