Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 579 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 579 Bytes

This is a simple C++ header file to allow outputting of C++ containers. It is generic and can work with any container that has begin and end member functions. It avoids conflicts with existing output functions (like that for std::string) by detecting whether they can be used.

You may want to check out output_range as well, which is a natural extension of output_container, supporting not only containers, but also ranges like a C array or other C++20 ranges.

Using this file requires a C++17-compliant compiler.