CGun
's are also leaking I guessCLight
, there is a bit of a mess there CGameController
std::vector<int> v = genLargeVector();
// standard sequential sort
std::sort(v.begin(), v.end());
// explicitly sequential sort
std::sort(std::seq, v.begin(), v.end());
// permitting parallel execution
std::sort(std::par, v.begin(), v.end());
// permitting vectorization as well
std::sort(std::par_unseq, v.begin(), v.end());
const auto [it, inserted] = map.insert( {"foo", bar} );
this is cool too