COMMS
Template library intended to help with implementation of communication protocols.
comms::option::def::ValidBigUnsignedNumValueRange< TMinValue, TMaxValue > Struct Template Reference

#include "comms/options.h"

Detailed Description

template<std::uintmax_t TMinValue, std::uintmax_t TMaxValue>
struct comms::option::def::ValidBigUnsignedNumValueRange< TMinValue, TMaxValue >

Provide range of valid unsigned numeric values.

Similar to ValidNumValueRange, but dedicated to big unsigned numbers, which don't fit into std::intmax_t type.

Template Parameters
TMinValueMinimal valid numeric value
TMaxValueMaximal valid numeric value
Note
The intersection of the provided multiple ranges is NOT checked.
Warning
Some older compilers (gcc-4.7) fail to compile valid C++11 code that allows usage of multiple ValidNumValueRange options. If this is the case, please don't pass more than one ValidNumValueRange or ValidBigUnsignedNumValueRange option.
See also
ValidNumValueRange
ValidBigUnsignedNumValue

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