emlabcpp
modern opinionated embedded C++ library
emlabcpp::bool_category Struct Reference

#include <error_code.h>

+ Inheritance diagram for emlabcpp::bool_category:
+ Collaboration diagram for emlabcpp::bool_category:

Public Member Functions

constexpr error_value_type cast (bool x) const
 
char const * message (error_value_type code) const noexcept override
 
- Public Member Functions inherited from emlabcpp::_error_category
virtual ~_error_category ()=default
 

Member Function Documentation

◆ cast()

constexpr error_value_type emlabcpp::bool_category::cast ( bool  x) const
inlineconstexpr

◆ message()

char const* emlabcpp::bool_category::message ( error_value_type  code) const
inlineoverridevirtualnoexcept

The documentation for this struct was generated from the following file: