Which version of c++ is currently supported

Again, it depends on the platform (which you still haven't specified). The latest Teensy BSP is at C++17 and ESP32 is at C++23.

Of course, you can't use any STL templates on AVR regardless of C++ version as it's not supported on that platform.