GTIRB  v2.2.0
GrammaTech Intermediate Representation for Binaries: C++ API
Classes | Namespaces | Functions
ErrorOr.hpp File Reference
#include <gtirb/Export.hpp>
#include <cassert>
#include <iostream>
#include <system_error>
#include <type_traits>
#include <utility>
Include dependency graph for ErrorOr.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gtirb::ErrorInfo
 
class  gtirb::ErrorOr< T >
 

Namespaces

 gtirb
 Main namespace for the GTIRB API.
 

Functions

template<typename CharT , typename Traits >
std::ostream & gtirb::operator<< (std::basic_ostream< CharT, Traits > &os, const ErrorInfo &Info)
 
template<class T , class E >
std::enable_if_t< std::is_error_code_enum< E >::value||std::is_error_condition_enum< E >::value, bool > gtirb::operator== (const ErrorOr< T > &Err, E Code)