TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
Loading...
Searching...
No Matches
tec::Error::Code< TCode > Struct Template Reference

Defines error codes with a default unspecified value. More...

#include <tec_status.hpp>

Static Public Attributes

static constexpr const TCode Unspecified {-1}
 Default unspecified error code.
 

Detailed Description

template<typename TCode = int>
struct tec::Error::Code< TCode >

Defines error codes with a default unspecified value.

A templated structure to hold error codes of type TCode, with a constant for an unspecified error code.

Template Parameters
TCodeThe type used for error codes (e.g., int).

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