53#ifndef MICRO_TEST_PLUS_LITERALS_H_
54#define MICRO_TEST_PLUS_LITERALS_H_
70#pragma GCC diagnostic push
71#pragma GCC diagnostic ignored "-Waggregate-return"
73#pragma clang diagnostic ignored "-Wc++98-compat"
74#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
121 template <
char... Cs>
122 [[nodiscard]]
constexpr auto
135 template <
char... Cs>
136 [[nodiscard]]
constexpr auto
149 template <
char... Cs>
150 [[nodiscard]]
constexpr auto
163 template <
char... Cs>
164 [[nodiscard]]
constexpr auto
177 template <
char... Cs>
178 [[nodiscard]]
constexpr auto
191 template <
char... Cs>
192 [[nodiscard]]
constexpr auto
205 template <
char... Cs>
206 [[nodiscard]]
constexpr auto
219 template <
char... Cs>
220 [[nodiscard]]
constexpr auto
233 template <
char... Cs>
234 [[nodiscard]]
constexpr auto
247 template <
char... Cs>
248 [[nodiscard]]
constexpr auto
261 template <
char... Cs>
262 [[nodiscard]]
constexpr auto
275 template <
char... Cs>
276 [[nodiscard]]
constexpr auto
289 template <
char... Cs>
290 [[nodiscard]]
constexpr auto
303 template <
char... Cs>
304 [[nodiscard]]
constexpr auto
317 template <
char... Cs>
318 [[nodiscard]]
constexpr auto
331 template <
char... Cs>
332 [[nodiscard]]
constexpr auto
345 template <
char... Cs>
346 [[nodiscard]]
constexpr auto
359 template <
char... Cs>
360 [[nodiscard]]
constexpr auto
373 template <
char... Cs>
374 [[nodiscard]]
constexpr auto
387 template <
char... Cs>
388 [[nodiscard]]
constexpr auto
401 template <
char... Cs>
402 [[nodiscard]]
constexpr auto
415 template <
char... Cs>
416 [[nodiscard]]
constexpr auto
429 operator""_b (
const char* name,
decltype (
sizeof (
"")) size);
437#pragma GCC diagnostic push
438#if defined(__clang__)
439#pragma clang diagnostic ignored "-Wdocumentation-deprecated-sync"
648 constexpr explicit _t (
const T& t);
652#pragma GCC diagnostic pop
884 constexpr explicit to_t (
const T& t);
891#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.