C++ Version in v3.0.1?
Posted: Mon Jun 17, 2024 11:08 am
What is the C++ standard used by default in ESP32 Arduino Core v3.0.1? The below code indicates that it's C++ something like "C++21" which I didn't even know was an official version?
Result:
Code: Select all
void setup() {
Serial.begin(115200);
delay(2000);
auto ver = __cplusplus;
Serial.print("C++ Version: ");
Serial.println(ver);
}
void loop() {
}
Code: Select all
C++ Version: 202100