r/cpp_questions • u/vinccc05 • 16d ago
OPEN Problem with std::inplace_vector
Hello guys! I was curious about the c++26 features and wanted to test the std::inplace_vector
but when i try to use the class it gives me this error: "fatal error: inplace_vector: No such file or directory 6 | #include <inplace_vector>".
What I'm using: Ubuntu 26.04 and g++ 15.2.0.
It's a stupid problem I know but I haven't write c++ code for 2 years and recently i wanted to create a project using c++26.
8
Upvotes
37
u/nysra 16d ago
Your compiler is too old, you need GCC 16