#include <test.h>
|
| UniversalString (const UniversalString &u, std::false_type) |
|
template<size_t len> |
| UniversalString (const char(&a)[len], std::true_type) |
|
template<size_t len> |
| UniversalString (char(&a)[len], std::true_type) |
|
| UniversalString (const char *p, std::false_type) |
|
| UniversalString (std::string s, std::false_type) |
|
template<typename T > |
| UniversalString (T &&arg) |
|
bool | operator== (const UniversalString &u) const |
|
bool | operator!= (const UniversalString &u) const |
|
std::string | toString () const |
|
|
const std::string | s |
|
const bool | isNull |
|
Immutable string with distinct null and empty states, and capable of containing '\0' inside. Fully supported by nx::kit::utils::toString() and nx/kit/test.h ASSERT_STREQ().
◆ UniversalString() [1/3]
template<size_t len>
nx::kit::test::detail::UniversalString::UniversalString |
( |
const char(&) |
a[len], |
|
|
std::true_type |
|
|
) |
| |
|
inline |
Creates from a string literal with possible '\0' inside.
◆ UniversalString() [2/3]
template<size_t len>
nx::kit::test::detail::UniversalString::UniversalString |
( |
char(&) |
a[len], |
|
|
std::true_type |
|
|
) |
| |
|
inline |
Creates from a string literal with possible '\0' inside.
◆ UniversalString() [3/3]
template<typename T >
nx::kit::test::detail::UniversalString::UniversalString |
( |
T && |
arg | ) |
|
|
inline |
Required for proper overloading resolution, to prefer array versions over char*.
The documentation for this struct was generated from the following file: