operators-inlines.h File
C++ header file with inline implementations for the µTest++ operator overloads. More...
Included Headers
Namespaces Index
| namespace | micro_os_plus |
|
The primary namespace for the µOS++ framework. More... | |
| namespace | micro_test_plus |
|
Primary namespace for the µTest++ testing framework. More... | |
| namespace | operators |
|
Custom operator overloads for expressive and type-safe test assertions. More... | |
Operators Index
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator and (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Logical && (and) operator. Matches only if at least one operand is of local type (derived from local op). More... | |
template <class T> | |
| constexpr auto | operator not (const T &t) |
|
Logical ! (not) operator. Matches only if the operand is of local type (derived from local op). More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator or (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Logical || (or) operator. Matches only if at least one operand is of local type (derived from local op). More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator!= (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Non-equality operator for custom types. Matches only if at least one operand is of local type. More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator!= (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Non-equality operator for containers. More... | |
| constexpr auto | operator!= (std::string_view lhs, std::string_view rhs) |
|
Non-equality operator for string_view objects. More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator< (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Less than operator. Matches only if at least one operand is of local type (derived from local op). More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator<= (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Less than or equal operator. Matches only if at least one operand is of local type (derived from local op). More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator== (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Equality operator for custom types. Matches only if at least one operand is of local type. More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator== (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Equality operator for containers. More... | |
| constexpr auto | operator== (std::string_view lhs, std::string_view rhs) |
|
Equality operator for string_view objects. More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator> (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Greater than operator. Matches only if at least one operand is of local type (derived from local op). More... | |
template <class Lhs_T, class Rhs_T> | |
| constexpr auto | operator>= (const Lhs_T &lhs, const Rhs_T &rhs) |
|
Greater than or equal operator. Matches only if at least one operand is of local type (derived from local op). More... | |
Description
C++ header file with inline implementations for the µTest++ operator overloads.
This header provides the inline implementations for all operator overloads declared in operators.h. Each operator constructs and returns the appropriate comparator or logical object from the detail namespace.
Separating the implementations from the declarations keeps operators.h concise and focused on the interface, whilst grouping all operator bodies here for maintainability.
All definitions reside within the micro_os_plus::micro_test_plus::operators 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.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.