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

Concept for a valid ID type in graph components. More...

#include <concepts.h>

Concept definition

template<typename T>
concept GraphLib::Internal::valid_id_type = std::totally_ordered<T> && std::is_default_constructible_v<T> && is_printable<T> &&
std::is_unsigned_v<T> && std::incrementable<T>
Checks whether a type supports streaming to std::ostream.
Definition concepts.h:32
Concept for a valid ID type in graph components.
Definition concepts.h:61

Detailed Description

Concept for a valid ID type in graph components.

Requirements:

  • Totally ordered
  • Default-constructible
  • Printable to std::ostream
  • Unsigned
  • Incrementable
Template Parameters
TID type.

Definition at line 61 of file concepts.h.