Porytiles
Loading...
Searching...
No Matches
result.hpp File Reference
#include <expected>
#include <memory>
#include <string>
#include <type_traits>
#include "porytiles2/xcut/panic/panic.hpp"
Include dependency graph for result.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  porytiles2
 

Typedefs

template<typename T , typename E = std::string>
using porytiles2::Result = std::expected< T, E >
 A result with some type T on success, otherwise an error of type E.