Compares two cstrings for equality.
More...
#include <fn.hpp>
|
using | is_transparent = void |
|
Mark this callable as transparent, allowing for comparing various types that are interoperable.
|
|
|
bool | operator() (const char *first, const char *second) const |
|
bool | operator() (const std::string_view &first, const std::string_view &second) const |
|
bool | operator() (T &&first, U &&second) const |
|
|
template<typename T , typename U > |
| and { std::string_view(std::forward<U>(u)) |
|
Compares two cstrings for equality.
Definition at line 90 of file fn.hpp.
◆ is_transparent
◆ operator()() [1/3]
bool m::StrEqual::operator() |
( |
const char * |
first, |
|
|
const char * |
second |
|
) |
| const |
|
inline |
◆ operator()() [2/3]
bool m::StrEqual::operator() |
( |
const std::string_view & |
first, |
|
|
const std::string_view & |
second |
|
) |
| const |
|
inline |
◆ operator()() [3/3]
bool m::StrEqual::operator() |
( |
T && |
first, |
|
|
U && |
second |
|
) |
| const |
|
inline |
◆ and
template<typename
T , typename
U >
m::StrEqual::and { std::string_view(std::forward<U>(u)) |
The documentation for this struct was generated from the following file: