When will the online compiler support C++11?

Hello all,
I would to like to know if and when the online compiler will support C++ V11

Thanks
Rob

Hi Rob,

If I add this to the mbed blinky example :

printf("PRINTF WORKS \n\r");
    
    if (__cplusplus == 201703L) printf("C++17\n\r");
    else if (__cplusplus == 201402L) printf("C++14\n\r");
    else if (__cplusplus == 201103L) printf("C++11\n\r");
    else if (__cplusplus == 199711L) printf("C++98\n\r");
    else printf("pre-standard C++\n\r");

    #ifdef __STDC_HOSTED__
    printf("STDC HOSTED \n\r");
    #else
    printf("UNKNOWN STDC HOSTED \n\r");
    #endif

it prints

PRINTF WORKS
C++14
STDC HOSTED

in the serial console.

So it seems we have C++14.

Kind regards, Ivo

Hello Ivo,

thank you for your attention, but your answer is not exact because the question is two years old and the Online compiler does not exist anymore, was replaced with KSC.

BR, Jan