Skip to main content

comparison_integer Struct Template

The integer type used to compare a value of type T. More...

Declaration​

template <class T>
struct micro_os_plus::micro_test_plus::detail::comparison_integer<T> { ... }

Included Headers​

#include <detail-inlines.h>

Public Member Typedefs Index​

template <class T>
usingtype = T

The type used for the comparison. More...

Description​

The integer type used to compare a value of type T.

The primary template is the type itself. The character types (char, wchar_t, char8_t, char16_t, and char32_t) are compared as the numbers that they hold, so they are replaced by the integer type of the same size and signedness, which std::cmp_*() accepts; the signedness of char and wchar_t depends on the platform, and is kept.

Template Parameters
T

The type of the operand.

Definition at line 279 of file detail-inlines.h.

Public Member Typedefs​

type​

template <class T>
using micro_os_plus::micro_test_plus::detail::comparison_integer< T >::type = T

The type used for the comparison.

The type itself, for all the types other than the characters.

Definition at line 287 of file detail-inlines.h.

287 using type = T;

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


Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.