micro-test-plus 6.0.1
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::comparison_integer< T > Struct Template Reference

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

#include <detail-inlines.h>

Public Types

using type = T
 The type used for the comparison.

Detailed Description

template<class T>
struct micro_os_plus::micro_test_plus::detail::comparison_integer< 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
TThe type of the operand.

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

Member Typedef Documentation

◆ type

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

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

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


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