53#ifndef MICRO_OS_PLUS_MICRO_TEST_PLUS_LITERALS_H_
54#define MICRO_OS_PLUS_MICRO_TEST_PLUS_LITERALS_H_
58#if defined(__cplusplus)
62#if __has_include("micro-os-plus/project-config.h")
63#include "micro-os-plus/project-config.h"
66#if __has_include("micro-os-plus/micro-test-plus-defines.h")
67#include "micro-os-plus/micro-test-plus-defines.h"
78#pragma GCC diagnostic push
80#pragma GCC diagnostic ignored "-Waggregate-return"
82#pragma clang diagnostic ignored "-Wc++98-compat"
83#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
130 template <
char... Cs>
131 [[nodiscard]]
constexpr auto
144 template <
char... Cs>
145 [[nodiscard]]
constexpr auto
158 template <
char... Cs>
159 [[nodiscard]]
constexpr auto
172 template <
char... Cs>
173 [[nodiscard]]
constexpr auto
186 template <
char... Cs>
187 [[nodiscard]]
constexpr auto
200 template <
char... Cs>
201 [[nodiscard]]
constexpr auto
214 template <
char... Cs>
215 [[nodiscard]]
constexpr auto
228 template <
char... Cs>
229 [[nodiscard]]
constexpr auto
242 template <
char... Cs>
243 [[nodiscard]]
constexpr auto
256 template <
char... Cs>
257 [[nodiscard]]
constexpr auto
270 template <
char... Cs>
271 [[nodiscard]]
constexpr auto
284 template <
char... Cs>
285 [[nodiscard]]
constexpr auto
298 template <
char... Cs>
299 [[nodiscard]]
constexpr auto
312 template <
char... Cs>
313 [[nodiscard]]
constexpr auto
326 template <
char... Cs>
327 [[nodiscard]]
constexpr auto
340 template <
char... Cs>
341 [[nodiscard]]
constexpr auto
354 template <
char... Cs>
355 [[nodiscard]]
constexpr auto
368 template <
char... Cs>
369 [[nodiscard]]
constexpr auto
382 template <
char... Cs>
383 [[nodiscard]]
constexpr auto
396 template <
char... Cs>
397 [[nodiscard]]
constexpr auto
410 template <
char... Cs>
411 [[nodiscard]]
constexpr auto
424 template <
char... Cs>
425 [[nodiscard]]
constexpr auto
438 operator""_b (
const char* name,
decltype (
sizeof (
"")) size);
446#pragma GCC diagnostic push
448#if defined(__clang__)
449#pragma clang diagnostic ignored "-Wdocumentation-deprecated-sync"
658 constexpr explicit _t (
const T& t);
662#pragma GCC diagnostic pop
894 constexpr explicit to_t (
const T& t);
901#pragma GCC diagnostic pop
type_traits::value< std::uint16_t > _u16
Strongly-typed wrapper for std::uint16_t values.
type_traits::value< unsigned long long > _ull
Strongly-typed wrapper for unsigned long long values.
type_traits::value< short > _s
Strongly-typed wrapper for short values.
type_traits::value< int > _i
Strongly-typed wrapper for int values.
type_traits::value< short > to_s
Strongly-typed wrapper for short values.
type_traits::value< unsigned char > _uc
Strongly-typed wrapper for unsigned char values.
type_traits::value< std::int64_t > to_i64
Strongly-typed wrapper for std::int64_t values.
type_traits::value< std::uint8_t > _u8
Strongly-typed wrapper for std::uint8_t values.
type_traits::value< long double > to_ld
Strongly-typed wrapper for long double values.
type_traits::value< double > to_d
Strongly-typed wrapper for double values.
type_traits::value< std::uint32_t > to_u32
Strongly-typed wrapper for std::uint32_t values.
type_traits::value< float > to_f
Strongly-typed wrapper for float values.
type_traits::value< std::int8_t > _i8
Strongly-typed wrapper for std::int8_t values.
type_traits::value< unsigned long long > to_ull
Strongly-typed wrapper for unsigned long long values.
type_traits::value< char > to_c
Strongly-typed wrapper for char values.
type_traits::value< std::int32_t > _i32
Strongly-typed wrapper for std::int32_t values.
type_traits::value< std::uint64_t > to_u64
Strongly-typed wrapper for std::uint64_t values.
constexpr _t(const T &t)
Constructor for the deprecated strongly-typed wrapper.
type_traits::value< unsigned short > _us
Strongly-typed wrapper for unsigned short values.
type_traits::value< double > _d
Strongly-typed wrapper for double values.
type_traits::value< long long > _ll
Strongly-typed wrapper for long long values.
type_traits::value< bool > to_b
Strongly-typed wrapper for bool values.
type_traits::value< unsigned > _u
Strongly-typed wrapper for unsigned values.
type_traits::value< bool > _b
Strongly-typed wrapper for bool values.
type_traits::value< long double > _ld
Strongly-typed wrapper for long double values.
type_traits::value< std::uint8_t > to_u8
Strongly-typed wrapper for std::uint8_t values.
type_traits::value< unsigned char > to_uc
Strongly-typed wrapper for unsigned char values.
type_traits::value< std::int32_t > to_i32
Strongly-typed wrapper for std::int32_t values.
type_traits::value< unsigned long > _ul
Strongly-typed wrapper for unsigned long values.
type_traits::value< unsigned long > to_ul
Strongly-typed wrapper for unsigned long values.
type_traits::value< std::uint16_t > to_u16
Strongly-typed wrapper for std::uint16_t values.
type_traits::value< std::int8_t > to_i8
Strongly-typed wrapper for std::int8_t values.
constexpr to_t(const T &t)
Constructor for the strongly-typed wrapper.
type_traits::value< long > _l
Strongly-typed wrapper for long values.
type_traits::value< long > to_l
Strongly-typed wrapper for long values.
type_traits::value< int > to_i
Strongly-typed wrapper for int values.
type_traits::value< long long > to_ll
Strongly-typed wrapper for long long values.
type_traits::value< char > _c
Strongly-typed wrapper for char values.
type_traits::value< std::uint64_t > _u64
Strongly-typed wrapper for std::uint64_t values.
type_traits::value< unsigned > to_u
Strongly-typed wrapper for unsigned values.
type_traits::value< unsigned short > to_us
Strongly-typed wrapper for unsigned short values.
type_traits::value< signed char > _sc
Strongly-typed wrapper for signed char values.
type_traits::value< signed char > to_sc
Strongly-typed wrapper for signed char values.
type_traits::value< float > _f
Strongly-typed wrapper for float values.
type_traits::value< std::int64_t > _i64
Strongly-typed wrapper for std::int64_t values.
type_traits::value< std::int16_t > _i16
Strongly-typed wrapper for std::int16_t values.
type_traits::value< std::int16_t > to_i16
Strongly-typed wrapper for std::int16_t values.
type_traits::value< std::uint32_t > _u32
Strongly-typed wrapper for std::uint32_t values.
C++ header file with inline implementations for the µTest++ literals and type wrappers.
C++ header file with declarations for the µTest++ mathematical utilities.
User-defined literals and type wrappers for the µTest++ testing framework.
Primary namespace for the µTest++ testing framework.
Struct template representing a generic value, accessible via a getter.
C++ header file with declarations for the µTest++ type trait utilities and metaprogramming support.