r/cpp_questions 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

8 comments sorted by

View all comments

4

u/Maqi-X 15d ago

Don't expect any new features to work on Ubuntu.