micro-test-plus 4.1.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
detail-inlines.h File Reference

C++ header file with inline implementations for the µTest++ internal detail namespace. More...

#include <charconv>

Go to the source code of this file.

Namespaces

namespace  micro_os_plus
 The primary namespace for the µOS++ framework.
namespace  micro_os_plus::micro_test_plus
 Primary namespace for the µTest++ testing framework.
namespace  micro_os_plus::micro_test_plus::detail
 Internal implementation details for the µTest++ framework.

Functions

template<class T>
requires std::is_arithmetic_v<T>
void micro_os_plus::micro_test_plus::detail::append_number_ (std::string &buffer, T v)
 Appends the string representation of a numeric value to a buffer, using std::to_chars for allocation-free, locale-independent formatting.
template<class T>
constexpr auto micro_os_plus::micro_test_plus::detail::get (const T &t)
 Generic getter function template for value retrieval.

Detailed Description

This header provides the out-of-line template and inline implementations for all types declared in detail.h. It defines the bodies of the generic getter, the unary and binary operator base class templates, all relational and logical comparator constructors, and the callable operator types (throws_, nothrow_).

Separating the implementations from the declarations keeps detail.h concise and focused on the interface, whilst grouping the complex lambda-based constructor bodies here for maintainability.

All definitions reside within the micro_os_plus::micro_test_plus::detail namespace, ensuring clear separation from user code and minimising the risk of naming conflicts.

This file is intended solely for internal use within the framework and should not be included directly by user code.

Definition in file detail-inlines.h.