|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Deprecated literal operators and wrappers for typed operands. More...
Classes | |
| struct | micro_os_plus::micro_test_plus::to_t< T > |
| Deprecated generic strongly-typed wrapper for explicit type conversion. More... | |
Functions | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_b (const char *name, decltype(sizeof("")) size) |
| Deprecated user-defined literal operator to create a named boolean constant. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_c () |
| Deprecated user-defined literal operator to convert to char. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_d () |
| Deprecated user-defined literal operator to convert to double. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_f () |
| Deprecated user-defined literal operator to convert to float. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_i () |
| Deprecated user-defined literal operator to convert to int. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_i16 () |
| Deprecated user-defined literal operator to convert to int16_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_i32 () |
| Deprecated user-defined literal operator to convert to int32_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_i64 () |
| Deprecated user-defined literal operator to convert to int64_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_i8 () |
| Deprecated user-defined literal operator to convert to int8_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_l () |
| Deprecated user-defined literal operator to convert to long. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_ld () |
| Deprecated user-defined literal operator to convert to long
double. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_ll () |
| Deprecated user-defined literal operator to convert to long
long. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_s () |
| Deprecated user-defined literal operator to convert to short. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_sc () |
| Deprecated user-defined literal operator to convert to signed
char. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_u () |
| Deprecated user-defined literal operator to convert to unsigned. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_u16 () |
| Deprecated user-defined literal operator to convert to uint16_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_u32 () |
| Deprecated user-defined literal operator to convert to uint32_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_u64 () |
| Deprecated user-defined literal operator to convert to uint64_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_u8 () |
| Deprecated user-defined literal operator to convert to uint8_t. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_uc () |
| Deprecated user-defined literal operator to convert to unsigned
char. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_ul () |
| Deprecated user-defined literal operator to convert to unsigned
long. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_ull () |
| Deprecated user-defined literal operator to convert to unsigned
long long. | |
| template<char... Cs> | |
| constexpr auto | micro_os_plus::micro_test_plus::literals::operator""_us () |
| Deprecated user-defined literal operator to convert to unsigned
short. | |
Value Wrappers | |
Strongly-typed wrappers for converting dynamic values and expressions to specific types recognised by µTest++ comparators. These type aliases provide a type-safe mechanism for explicitly converting values to the required types for µTest++ test expressions and comparators. Each alias is a wrapper around detail::value<T>, ensuring that the value is treated as the specified type within the framework. The to_* forms replaced the older _i, _u8, etc. aliases, which were deprecated in version 3.2.0.
namespace mt = micro_os_plus::micro_test_plus;
int x = 42;
// Explicitly treat x as an int for test comparison.
auto wrapped = mt::to_i{x};
Primary namespace for the µTest++ testing framework. Definition check-result.h:76
| |
| using | micro_os_plus::micro_test_plus::to_b = detail::value<bool> |
| Deprecated strongly-typed wrapper for bool values. | |
| using | micro_os_plus::micro_test_plus::to_c = detail::value<char> |
| Deprecated strongly-typed wrapper for char values. | |
| using | micro_os_plus::micro_test_plus::to_sc = detail::value<signed char> |
| Deprecated strongly-typed wrapper for signed char values. | |
| using | micro_os_plus::micro_test_plus::to_s = detail::value<short> |
| Deprecated strongly-typed wrapper for short values. | |
| using | micro_os_plus::micro_test_plus::to_i = detail::value<int> |
| Deprecated strongly-typed wrapper for int values. | |
| using | micro_os_plus::micro_test_plus::to_l = detail::value<long> |
| Deprecated strongly-typed wrapper for long values. | |
| using | micro_os_plus::micro_test_plus::to_ll = detail::value<long long> |
| Deprecated strongly-typed wrapper for long long values. | |
| using | micro_os_plus::micro_test_plus::to_u = detail::value<unsigned> |
| Deprecated strongly-typed wrapper for unsigned values. | |
| using | micro_os_plus::micro_test_plus::to_uc = detail::value<unsigned char> |
| Deprecated strongly-typed wrapper for unsigned char values. | |
| using | micro_os_plus::micro_test_plus::to_us = detail::value<unsigned short> |
| Deprecated strongly-typed wrapper for unsigned short values. | |
| using | micro_os_plus::micro_test_plus::to_ul = detail::value<unsigned long> |
| Deprecated strongly-typed wrapper for unsigned long values. | |
| using | micro_os_plus::micro_test_plus::to_ull = detail::value<unsigned long long> |
| Deprecated strongly-typed wrapper for unsigned long long values. | |
| using | micro_os_plus::micro_test_plus::to_i8 = detail::value<std::int8_t> |
| Deprecated strongly-typed wrapper for std::int8_t values. | |
| using | micro_os_plus::micro_test_plus::to_i16 = detail::value<std::int16_t> |
| Deprecated strongly-typed wrapper for std::int16_t values. | |
| using | micro_os_plus::micro_test_plus::to_i32 = detail::value<std::int32_t> |
| Deprecated strongly-typed wrapper for std::int32_t values. | |
| using | micro_os_plus::micro_test_plus::to_i64 = detail::value<std::int64_t> |
| Deprecated strongly-typed wrapper for std::int64_t values. | |
| using | micro_os_plus::micro_test_plus::to_u8 = detail::value<std::uint8_t> |
| Deprecated strongly-typed wrapper for std::uint8_t values. | |
| using | micro_os_plus::micro_test_plus::to_u16 = detail::value<std::uint16_t> |
| Deprecated strongly-typed wrapper for std::uint16_t values. | |
| using | micro_os_plus::micro_test_plus::to_u32 = detail::value<std::uint32_t> |
| Deprecated strongly-typed wrapper for std::uint32_t values. | |
| using | micro_os_plus::micro_test_plus::to_u64 = detail::value<std::uint64_t> |
| Deprecated strongly-typed wrapper for std::uint64_t values. | |
| using | micro_os_plus::micro_test_plus::to_f = detail::value<float> |
| Deprecated strongly-typed wrapper for float values. | |
| using | micro_os_plus::micro_test_plus::to_d = detail::value<double> |
| Deprecated strongly-typed wrapper for double values. | |
| using | micro_os_plus::micro_test_plus::to_ld = detail::value<long double> |
| Deprecated strongly-typed wrapper for long double values. | |
Deprecated Value Wrappers | |
The v5.0.1 names of the to_* value wrappers. The Boost UT style names, with a leading underscore, kept for compatibility with the existing applications. Each one is an alias of the corresponding to_* wrapper, so the wrapped values are compared and reported in the same way. They do not conflict with the literal operators with the same suffixes (42_i), which are in the literals namespace. GCC reports the deprecation only when the alias names the type of a declaration, not when it is used in an expression, as in _i (expr); Clang reports it in both cases. | |
| using | micro_os_plus::micro_test_plus::_b = to_b |
| Deprecated strongly-typed wrapper for bool values, the v5.0.1 name of to_b. | |
| using | micro_os_plus::micro_test_plus::_c = to_c |
| Deprecated strongly-typed wrapper for char values, the v5.0.1 name of to_c. | |
| using | micro_os_plus::micro_test_plus::_sc = to_sc |
| Deprecated strongly-typed wrapper for signed char values, the v5.0.1 name of to_sc. | |
| using | micro_os_plus::micro_test_plus::_s = to_s |
| Deprecated strongly-typed wrapper for short values, the v5.0.1 name of to_s. | |
| using | micro_os_plus::micro_test_plus::_i = to_i |
| Deprecated strongly-typed wrapper for int values, the v5.0.1 name of to_i. | |
| using | micro_os_plus::micro_test_plus::_l = to_l |
| Deprecated strongly-typed wrapper for long values, the v5.0.1 name of to_l. | |
| using | micro_os_plus::micro_test_plus::_ll = to_ll |
| Deprecated strongly-typed wrapper for long long values, the v5.0.1 name of to_ll. | |
| using | micro_os_plus::micro_test_plus::_u = to_u |
| Deprecated strongly-typed wrapper for unsigned values, the v5.0.1 name of to_u. | |
| using | micro_os_plus::micro_test_plus::_uc = to_uc |
| Deprecated strongly-typed wrapper for unsigned char values, the v5.0.1 name of to_uc. | |
| using | micro_os_plus::micro_test_plus::_us = to_us |
| Deprecated strongly-typed wrapper for unsigned short values, the v5.0.1 name of to_us. | |
| using | micro_os_plus::micro_test_plus::_ul = to_ul |
| Deprecated strongly-typed wrapper for unsigned long values, the v5.0.1 name of to_ul. | |
| using | micro_os_plus::micro_test_plus::_ull = to_ull |
| Deprecated strongly-typed wrapper for unsigned long long values, the v5.0.1 name of to_ull. | |
| using | micro_os_plus::micro_test_plus::_i8 = to_i8 |
| Deprecated strongly-typed wrapper for std::int8_t values, the v5.0.1 name of to_i8. | |
| using | micro_os_plus::micro_test_plus::_i16 = to_i16 |
| Deprecated strongly-typed wrapper for std::int16_t values, the v5.0.1 name of to_i16. | |
| using | micro_os_plus::micro_test_plus::_i32 = to_i32 |
| Deprecated strongly-typed wrapper for std::int32_t values, the v5.0.1 name of to_i32. | |
| using | micro_os_plus::micro_test_plus::_i64 = to_i64 |
| Deprecated strongly-typed wrapper for std::int64_t values, the v5.0.1 name of to_i64. | |
| using | micro_os_plus::micro_test_plus::_u8 = to_u8 |
| Deprecated strongly-typed wrapper for std::uint8_t values, the v5.0.1 name of to_u8. | |
| using | micro_os_plus::micro_test_plus::_u16 = to_u16 |
| Deprecated strongly-typed wrapper for std::uint16_t values, the v5.0.1 name of to_u16. | |
| using | micro_os_plus::micro_test_plus::_u32 = to_u32 |
| Deprecated strongly-typed wrapper for std::uint32_t values, the v5.0.1 name of to_u32. | |
| using | micro_os_plus::micro_test_plus::_u64 = to_u64 |
| Deprecated strongly-typed wrapper for std::uint64_t values, the v5.0.1 name of to_u64. | |
| using | micro_os_plus::micro_test_plus::_f = to_f |
| Deprecated strongly-typed wrapper for float values, the v5.0.1 name of to_f. | |
| using | micro_os_plus::micro_test_plus::_d = to_d |
| Deprecated strongly-typed wrapper for double values, the v5.0.1 name of to_d. | |
| using | micro_os_plus::micro_test_plus::_ld = to_ld |
| Deprecated strongly-typed wrapper for long double values, the v5.0.1 name of to_ld. | |
| template<class T> | |
| using | micro_os_plus::micro_test_plus::_t = to_t<T> |
| Deprecated generic strongly-typed wrapper, the v5.0.1 name of to_t. | |
Deprecated Functions | |
| template<class T> requires std::is_floating_point_v<T> | |
| constexpr auto | micro_os_plus::micro_test_plus::approx (T value, std::type_identity_t< T > epsilon) noexcept -> detail::value< T > |
| Deprecated wrapping of a floating-point value with an explicit comparison tolerance. | |
The deprecated overloaded operators compare only the framework expression types. The literals of the mt::literals namespace, such as 1_i and 42.0_f, create such operands from constants, and the wrappers, such as mt::to_i{ value }, from the values computed at run time.
The floating-point literals (1.5_d) and wrappers (mt::to_d{ 1.5 }) compare with a tolerance of one unit of the last decimal written (0.1 for 1.5), so that 1.45 == 1.5_d is true. All six comparisons apply it: values within the tolerance are equal, and neither less nor greater. Plain floating-point values compare exactly. Since the tolerance depends on the digits written and on which operand is wrapped, set it explicitly with mt::approx (lhs, rhs, epsilon) instead.
The same type as to_b; kept for backwards compatibility.
The same type as to_c; kept for backwards compatibility.
The same type as to_d; kept for backwards compatibility.
The same type as to_f; kept for backwards compatibility.
The same type as to_i; kept for backwards compatibility.
The same type as to_i16; kept for backwards compatibility.
The same type as to_i32; kept for backwards compatibility.
The same type as to_i64; kept for backwards compatibility.
The same type as to_i8; kept for backwards compatibility.
The same type as to_l; kept for backwards compatibility.
The same type as to_ld; kept for backwards compatibility.
The same type as to_ll; kept for backwards compatibility.
The same type as to_s; kept for backwards compatibility.
The same type as to_sc; kept for backwards compatibility.
| using micro_os_plus::micro_test_plus::_t = to_t<T> |
The same type as to_t<T>, so it takes the same argument and is reported in the same way; kept for backwards compatibility. In v5.0.1 it was a separate class, also derived from detail::value<T>.
| T | The type of the wrapped value. |
The same type as to_u; kept for backwards compatibility.
The same type as to_u16; kept for backwards compatibility.
The same type as to_u32; kept for backwards compatibility.
The same type as to_u64; kept for backwards compatibility.
The same type as to_u8; kept for backwards compatibility.
The same type as to_uc; kept for backwards compatibility.
The same type as to_ul; kept for backwards compatibility.
The same type as to_ull; kept for backwards compatibility.
The same type as to_us; kept for backwards compatibility.
| using micro_os_plus::micro_test_plus::to_b = detail::value<bool> |
Wraps a run-time value, so that the comparators and the reporter treat it as bool.
| using micro_os_plus::micro_test_plus::to_c = detail::value<char> |
Wraps a run-time value, so that the comparators and the reporter treat it as char.
| using micro_os_plus::micro_test_plus::to_d = detail::value<double> |
Wraps a run-time value, so that the comparators and the reporter treat it as double.
| using micro_os_plus::micro_test_plus::to_f = detail::value<float> |
Wraps a run-time value, so that the comparators and the reporter treat it as float.
| using micro_os_plus::micro_test_plus::to_i = detail::value<int> |
Wraps a run-time value, so that the comparators and the reporter treat it as int.
| using micro_os_plus::micro_test_plus::to_i16 = detail::value<std::int16_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::int16_t.
| using micro_os_plus::micro_test_plus::to_i32 = detail::value<std::int32_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::int32_t.
| using micro_os_plus::micro_test_plus::to_i64 = detail::value<std::int64_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::int64_t.
| using micro_os_plus::micro_test_plus::to_i8 = detail::value<std::int8_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::int8_t.
| using micro_os_plus::micro_test_plus::to_l = detail::value<long> |
Wraps a run-time value, so that the comparators and the reporter treat it as long.
| using micro_os_plus::micro_test_plus::to_ld = detail::value<long double> |
Wraps a run-time value, so that the comparators and the reporter treat it as long double.
| using micro_os_plus::micro_test_plus::to_ll = detail::value<long long> |
Wraps a run-time value, so that the comparators and the reporter treat it as long long.
| using micro_os_plus::micro_test_plus::to_s = detail::value<short> |
Wraps a run-time value, so that the comparators and the reporter treat it as short.
| using micro_os_plus::micro_test_plus::to_sc = detail::value<signed char> |
Wraps a run-time value, so that the comparators and the reporter treat it as signed char.
| using micro_os_plus::micro_test_plus::to_u = detail::value<unsigned> |
Wraps a run-time value, so that the comparators and the reporter treat it as unsigned.
| using micro_os_plus::micro_test_plus::to_u16 = detail::value<std::uint16_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::uint16_t.
| using micro_os_plus::micro_test_plus::to_u32 = detail::value<std::uint32_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::uint32_t.
| using micro_os_plus::micro_test_plus::to_u64 = detail::value<std::uint64_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::uint64_t.
| using micro_os_plus::micro_test_plus::to_u8 = detail::value<std::uint8_t> |
Wraps a run-time value, so that the comparators and the reporter treat it as std::uint8_t.
| using micro_os_plus::micro_test_plus::to_uc = detail::value<unsigned char> |
Wraps a run-time value, so that the comparators and the reporter treat it as unsigned char.
| using micro_os_plus::micro_test_plus::to_ul = detail::value<unsigned long> |
Wraps a run-time value, so that the comparators and the reporter treat it as unsigned long.
| using micro_os_plus::micro_test_plus::to_ull = detail::value<unsigned long long> |
Wraps a run-time value, so that the comparators and the reporter treat it as unsigned long long.
| using micro_os_plus::micro_test_plus::to_us = detail::value<unsigned short> |
Wraps a run-time value, so that the comparators and the reporter treat it as unsigned short.
|
nodiscardconstexprnoexcept |
The floating-point literals (1.5_d) and wrappers (to_d{ 1.5 }) compare with a tolerance derived from the number of decimals written (0.1 for 1.5). approx() makes the tolerance explicit, independent of how the value is written. All six comparisons apply it: values whose difference is less than the tolerance are equal, and neither less nor greater. If both operands have a tolerance, the smaller one is used.
For a single comparison, also of integers, the approx (lhs, rhs, epsilon) function comparator may be used instead.
| T | The floating-point type of the value. |
| value | The expected value. |
| epsilon | The tolerance, converted to T. |
Constructs the floating-point detail::value<T> with the given tolerance, instead of the one derived from the number of decimals of the value.
Definition at line 1277 of file deprecated-inlines.h.
References approx().
|
nodiscardconstexpr |
| name | Pointer to the character sequence representing the literal. |
| size | The size of the character sequence. |
This user-defined literal operator creates a named boolean constant, with the value true, from a string literal (for example, "feature_enabled"_b).
The returned detail::named_bool converts implicitly to bool, and the expression formatter prints its name instead of its value. With the operators in the operators namespace, a comparison like "feature_enabled"_b == flag is true when flag is true, and, when it fails, it is reported as feature_enabled == false; the same applies to eq ("feature_enabled"_b, flag). Without these operators, the comparison is a plain bool expression, and its operands are not reported.
Definition at line 1238 of file deprecated-inlines.h.
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the character constant. |
Creates a compile-time char constant, for example 65_c, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 939 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the floating-point constant. |
Creates a compile-time double constant, for example 2.718_d, from the integral part, the decimals, and the number of decimals of the literal, parsed at compile time by detail::math::num(), den(), and den_size(); the comparison tolerance is one unit of the last decimal written.
Definition at line 1196 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::math::den(), micro_os_plus::micro_test_plus::detail::math::den_size(), and micro_os_plus::micro_test_plus::detail::math::num().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the floating-point constant. |
Creates a compile-time float constant, for example 3.14_f, from the integral part, the decimals, and the number of decimals of the literal, parsed at compile time by detail::math::num(), den(), and den_size(); the comparison tolerance is one unit of the last decimal written.
Definition at line 1178 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::math::den(), micro_os_plus::micro_test_plus::detail::math::den_size(), and micro_os_plus::micro_test_plus::detail::math::num().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the integer constant. |
Creates a compile-time int constant, for example 42_i, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 911 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the int16_t constant. |
Creates a compile-time int16_t constant, for example 32767_i16, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1079 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the int32_t constant. |
Creates a compile-time int32_t constant, for example 2147483647_i32, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1093 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the int64_t constant. |
Creates a compile-time int64_t constant, for example 9223372036854775807_i64, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1107 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the int8_t constant. |
Creates a compile-time int8_t constant, for example 127_i8, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1065 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the long integer constant. |
Creates a compile-time long constant, for example 123_l, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 967 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the floating-point constant. |
Creates a compile-time long double constant, for example 1.618_ld, from the integral part, the decimals, and the number of decimals of the literal, parsed at compile time by detail::math::num(), den(), and den_size(); the comparison tolerance is one unit of the last decimal written.
Definition at line 1214 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::math::den(), micro_os_plus::micro_test_plus::detail::math::den_size(), and micro_os_plus::micro_test_plus::detail::math::num().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the long long integer constant. |
Creates a compile-time long long constant, for example 123_ll, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 981 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the integer constant. |
Creates a compile-time short constant, for example 123_s, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 925 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the signed character constant. |
Creates a compile-time signed char constant, for example 65_sc, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 953 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the unsigned integer constant. |
Creates a compile-time unsigned constant, for example 123_u, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 995 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the uint16_t constant. |
Creates a compile-time uint16_t constant, for example 65535_u16, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1135 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the uint32_t constant. |
Creates a compile-time uint32_t constant, for example 4294967295_u32, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1149 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the uint64_t constant. |
Creates a compile-time uint64_t constant, for example 18446744073709551615_u64, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1163 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the uint8_t constant. |
Creates a compile-time uint8_t constant, for example 255_u8, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1121 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the unsigned character constant. |
Creates a compile-time unsigned char constant, for example 65_uc, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1009 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the unsigned long integer constant. |
Creates a compile-time unsigned long constant, for example 123_ul, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1037 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the unsigned long long integer constant. |
Creates a compile-time unsigned long long constant, for example 123_ull, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1051 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().
|
nodiscardconstexpr |
| Cs | The character pack representing the digits of the unsigned short constant. |
Creates a compile-time unsigned short constant, for example 123_us, with detail::integral_literal(). The literal is parsed, and its value checked against the range of the type, at compile time; a negative constant is written with the unary minus.
Definition at line 1023 of file deprecated-inlines.h.
References micro_os_plus::micro_test_plus::detail::integral_literal().