|
template<typename CharT , typename Traits = std::char_traits<CharT>, typename Allocator = config::allocator<CharT>> |
constexpr std::basic_string< CharT, Traits, Allocator > | operator+ (std::basic_string< CharT, Traits, Allocator > lhs, std::basic_string_view< CharT, Traits > rhs) |
|
template<typename CharT , typename Traits = std::char_traits<CharT>, typename Allocator = config::allocator<CharT>> |
constexpr std::basic_string< CharT, Traits, Allocator > | operator+ (std::basic_string_view< CharT, Traits > lhs, std::basic_string< CharT, Traits, Allocator > rhs) |
|
template<typename CharT , typename Traits = std::char_traits<CharT>> |
constexpr std::basic_string< CharT, Traits, config::allocator< CharT > > | operator+ (std::basic_string_view< CharT, Traits > lhs, std::basic_string_view< CharT, Traits > rhs) |
|
Namespace for string_view operators.
template<typename CharT , typename Traits = std::char_traits<CharT>, typename Allocator = config::allocator<CharT>>
constexpr std::basic_string<CharT, Traits, Allocator> arg_router::utility::string_view_ops::operator+ |
( |
std::basic_string< CharT, Traits, Allocator > |
lhs, |
|
|
std::basic_string_view< CharT, Traits > |
rhs |
|
) |
| |
|
constexpr |
Concatentation operator between string and string_view.
The returned string uses the library allocator (config::allocator
) by default.
- Template Parameters
-
CharT | Character type |
Traits | Character traits |
Allocator | Allocator type |
- Parameters
-
lhs | string instance |
rhs | string_view instance |
- Returns
- string of lhs and rhs concatenated together
Definition at line 27 of file string_view_ops.hpp.
template<typename CharT , typename Traits = std::char_traits<CharT>, typename Allocator = config::allocator<CharT>>
constexpr std::basic_string<CharT, Traits, Allocator> arg_router::utility::string_view_ops::operator+ |
( |
std::basic_string_view< CharT, Traits > |
lhs, |
|
|
std::basic_string< CharT, Traits, Allocator > |
rhs |
|
) |
| |
|
constexpr |
Overload that accepts reversed arguments.
The returned string uses the library allocator (config::allocator
) by default.
- Template Parameters
-
CharT | Character type |
Traits | Character traits |
Allocator | Allocator type |
- Parameters
-
lhs | string_view instance |
rhs | string instance |
- Returns
- string of lhs and rhs concatenated together
Definition at line 47 of file string_view_ops.hpp.