Skip to main content

comparison_integer Struct Template

The integer type used to compare a character type. 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 = std::conditional_t< std::is_signed_v< T >, std::make_signed_t< T >, std::make_unsigned_t< T > >

The integer type of the same size and signedness. More...

Description​

The integer type used to compare a character type.

Selected by the character concept, so that it applies also to the cv-qualified character types.

Template Parameters
T

The character type.

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

Public Member Typedefs​

type​

template <class T>
using micro_os_plus::micro_test_plus::detail::comparison_integer< T >::type = std::conditional_t<std::is_signed_v<T>, std::make_signed_t<T>, std::make_unsigned_t<T>>

The integer type of the same size and signedness.

std::make_signed_t or std::make_unsigned_t of the character type, chosen by its signedness, which, for char and wchar_t, depends on the platform.

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

311 using type

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


Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.