the last version i have is RAD Studio 10.3.3 and it support C++ 11
but it still give the same error even if i activate the option to use the new Clang compiler
C++ Builder even if it is the latest version (XE4 is from 2013) isn't really a good standalone C++ compiler. Too many non-standard tweaks under the hood to make the RAD work.
I used to use C++Builder -- and Delphi -- a lot when it was still Borland, before Embarcadero bought 'em out. RAD is great for creating quick GUI app templates, not so good with "pure" C++ code. But I've tried later versions and IMO they've gotten worse when it comes to straight forward C++ compatibility.
There are several Windows-based compilers/IDEs available for free that are more current C++ standards compliant: Visual Studio 2019 Community or Code::Blocks.
FYI, I tried to install C++ Builder and Delphi Community on my Win10 development machine and both stalled out a fraction of the way through the install process.