Did you test the --std change in isolation, without your new headers? Some libraries&#x27; headers are ridiculously expensive when they make heavy use of templates. My favorite in that regard is Boost::Qi.