Corrade/Utility/DebugStl.h file new in 2019.10

STL compatibility for Corrade::Utility::Debug.

Including this header allows you to use STL types such as std::string or std::tuple with Corrade::Utility::Debug, as well as a fallback to std::ostream operator<<() overloads if a type doesn't provide operator<<(Utility::Debug&, const T&) directly. A separate Corrade/Utility/DebugStlStringView.h header provides compatibility with std::string_view from C++17. See Printing STL types for more information.


namespace Corrade
Root namespace.
namespace Corrade::Utility


auto operator<<(Debug& debug, const std::string& value) -> Debug&
Print a std::string to debug output.
template<class T>
auto operator<<(Debug& debug, const std::basic_string<T>& value) -> std::enable_if<!std::is_same<T, char>::value, Debug&>::type
Print a std::basic_string to debug output.
template<class ... Args>
auto operator<<(Debug& debug, const std::tuple<Args...>& value) -> Debug&
Print a std::tuple to debug output.