GraphLib
Bearbeitung der Aufgabe Mini Graph Library für OOP WiSe 2023/24
Loading...
Searching...
No Matches
GraphLib::Internal::is_printable Concept Reference

Checks whether a type supports streaming to std::ostream. More...

#include <concepts.h>

Concept definition

template<typename T>
concept GraphLib::Internal::is_printable = requires(T a, std::ostream& os) {
{ os << a } -> std::same_as<std::ostream&>;
}
Checks whether a type supports streaming to std::ostream.
Definition concepts.h:32

Detailed Description

Checks whether a type supports streaming to std::ostream.

Template Parameters
TType to check.

Definition at line 32 of file concepts.h.