This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $ cl.exe -I c:/3rdPartyLibs/boost/boost_1_67_0 /EHsc -permissive- nonpermissive.cpp | |
// Microsoft (R) C/C++ Optimizing Compiler Version 19.13.26131.1 for x64 | |
// Copyright (C) Microsoft Corporation. All rights reserved. | |
// | |
// nonpermissive.cpp | |
// nonpermissive.cpp(35): error C2760: syntax error: unexpected token 'constant', expected 'declaration' | |
// nonpermissive.cpp(35): note: This diagnostic occurred in the compiler generated function 'void X<T>::fct(void)' | |
// nonpermissive.cpp(38): note: see reference to class template instantiation 'X<T>' being compiled | |
#include <boost/variant/variant.hpp> |