zpp
Zephyr C++20 Framework
result.hpp File Reference
#include <zephyr/kernel.h>
#include <zephyr/sys/__assert.h>
#include <zpp/error_code.hpp>
#include <utility>
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.

Classes

class  zpp::error_result< T_Error >
 helper class for error result More...
 
class  zpp::result< T_Ok, T_Error >
 result class More...
 
class  zpp::result< void, T_Error >
 result class More...
 

Namespaces

 zpp
 

Functions

template<typename T_Ok , typename T_Error >
constexpr bool zpp::operator== (const result< T_Ok, T_Error > &lhs, bool rhs) noexcept
 compare result with bool More...
 
template<typename T_Ok , typename T_Error >
constexpr bool zpp::operator== (bool lhs, const result< T_Ok, T_Error > &rhs) noexcept
 compare result with bool More...
 
template<typename T_Ok , typename T_Error >
constexpr bool zpp::operator!= (const result< T_Ok, T_Error > &lhs, bool rhs) noexcept
 compare result with bool More...
 
template<typename T_Ok , typename T_Error >
constexpr bool zpp::operator!= (bool lhs, const result< T_Ok, T_Error > &rhs) noexcept
 compare result with bool More...