On 28 May 2015 at 16:24, Hotmail (ArbolOne) <ArbolOne@xxxxxxxxxx> wrote: > If I am not mistaken _MSC_VER >= 1600 is the version that started > implementing C++11. So, I test for that version of the compiler in my code, > i.e. > #ifdef _MSC_VER >= 1600 > .... > #endif > I would like to do the same for __GNUG__, but what version of g++ started > implementing C++11? 4.3 (see https://gcc.gnu.org/projects/cxx0x.html) but it's not much use knowing when support started appearing if you need to use a feature that wasn't supported until later. GCC 4.8.1 has complete C++11 language support, 5.1 has complete C++11 library support.