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

C++ header file with inline implementations for the µTest++ utility functions. More...

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::utility
 Utility functions for the µTest++ testing framework.

Functions

template<class T, class Delim_T>
requires requires (T s, Delim_T d) { T::npos; s.find_first_of (d, std::size_t{}); s.substr (std::size_t{}, std::size_t{}); }
auto micro_os_plus::micro_test_plus::utility::split (T input, Delim_T delim) -> std::vector< T >
 Splits a string into a vector of sub-strings.

Detailed Description

This header provides the inline implementations for the utility function templates used within the µTest++ framework. It defines the logic for splitting strings into sub-strings using a specified delimiter, enabling convenient and type-safe string parsing in test expressions.

All definitions reside within the micro_os_plus::micro_test_plus::utility namespace.

This file is included by utility.h; the applications include micro-os-plus/micro-test-plus.h, not this file.

Definition in file utility-inlines.h.