feature: overloading std::ostream &operator<< to print all kinds of stl containers ( most widely used ) #2844
-
Hello!
p.s. I am not very expert in this domain, please correct me if some better ways exist here. Here I am appending the roughly written code, with some shots of how it runs.
(note here that we can customize how the opening or closing brackets would look) this code for "ru.cpp" I have uploaded here: https://github.com/Shubhambawner/learner/blob/main/DSA/recursion_DP/ru.cpp |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Implementing extensions beyond what the C++ Standard specifies is an explicit non-goal of our project - see https://github.com/microsoft/STL#non-goals . |
Beta Was this translation helpful? Give feedback.
-
The feature request is non-standard and non-conforming, I don't think MSVC STL should ever accept it. In C++23 we will have Formatting Ranges (P2286R8) and Formatted output (P2093R14), so you'll be able to write |
Beta Was this translation helpful? Give feedback.
Implementing extensions beyond what the C++ Standard specifies is an explicit non-goal of our project - see https://github.com/microsoft/STL#non-goals .