cgrapht 1.0.0
A modern C++20 header-only graph library
Loading...
Searching...
No Matches
models.hpp File Reference

Core result and error types. More...

#include <stdexcept>
#include <variant>
+ Include dependency graph for models.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cgrapht::Result< SUCCESS, ERROR >
 Result wrapper for success or error values. More...
 

Namespaces

namespace  cgrapht
 

Enumerations

enum class  cgrapht::ErrorType {
  cgrapht::ErrorType::INVALID_ARGUMENT , cgrapht::ErrorType::ABSENT_VERTEX , cgrapht::ErrorType::ABSENT_EDGE , cgrapht::ErrorType::EDGE_ALREADY_EXISTS ,
  cgrapht::ErrorType::VERTEX_NOT_FREE , cgrapht::ErrorType::UNKNOWN
}
 Error codes returned by graph operations. More...
 

Detailed Description

Core result and error types.

Definition in file models.hpp.