Corrade/Utility/Debug.h file

Class Corrade::Utility::Debug, Corrade::Utility::Warning, Corrade::Utility::Error, Corrade::Utility::Fatal.

Contents

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Utility
Utitlities.

Classes

class Corrade::Utility::Debug
Debug output handler.
class Corrade::Utility::Warning
Warning output handler.
class Corrade::Utility::Error
Error output handler.
class Corrade::Utility::Fatal
Fatal output handler.

Functions

auto operator!(Implementation::DebugSourceLocation debug) -> Debug& new in Git master
Prefix the output with source location.
template<class T>
auto operator<<(Debug& debug, const T& value) -> Debug&
Operator for printing custom types to debug output.
template<class Iterable>
auto operator<<(Debug& debug, const Iterable& value) -> Debug&
Operator for printing iterable types to debug output.
template<class T, class U>
auto operator<<(Debug& debug, const std::pair<T, U>& value) -> Debug&
Print a std::pair to debug output.

Defines

#define CORRADE_UTILITY_DEBUG_HAS_SOURCE_LOCATION new in Git master
Source location support in debug output.

Define documentation

#define CORRADE_UTILITY_DEBUG_HAS_SOURCE_LOCATION new in Git master

Source location support in debug output.

Defined if Utility::Debug is able to print source location support. Available on GCC at least since version 4.8 and Clang 9+. See Source location for more information.