On 11/04/2017 04:57, Edward Diener via Boost wrote:
On 4/10/2017 10:53 AM, Niall Douglas via Boost wrote:
The newer MSVC's now have a /std: switch. You'll be glad to know it doesn't follow the same semantics as -std= because well, it's Microsoft.
The new MSVC remains completely undocumented more than one month after it has been released, so whatever /std: switch it does have is guesswork AFAICS. But yes, if the new MSVC has such a switch it is an advance over the previous versions which just offered a single level of C++ compliance, whatever it was, which the end-user had to understand exactly.
There's an official blog post about it: https://blogs.msdn.microsoft.com/vcblog/2016/06/07/standards-version-switche... And it's documented in the new doc wiki site (although the search is atrociously bad, so you can't find it unless you already know what you're looking for and even then have to navigate through several side paths before you can get to it): https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-st...