arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/utility/compile_time_string.hpp>
Classes | |
struct | append |
Public Types | |
using | array_type = std::tuple< traits::integral_constant< Cs >... > |
template<typename T > | |
using | append_t = typename append< T >::type |
Public Member Functions | |
template<char... OtherCs> | |
constexpr auto | operator+ ([[maybe_unused]] const compile_time_string< OtherCs... > &other) const noexcept |
Static Public Member Functions | |
constexpr static std::size_t | size () noexcept |
constexpr static bool | empty () noexcept |
constexpr static std::string_view | get () noexcept |
Compile time string.
Cs | Pack of chars |
Definition at line 331 of file compile_time_string.hpp.
using arg_router::utility::compile_time_string< Cs >::append_t = typename append<T>::type |
Helper alias for append.
T | String to append |
Definition at line 375 of file compile_time_string.hpp.
using arg_router::utility::compile_time_string< Cs >::array_type = std::tuple<traits::integral_constant<Cs>...> |
Array of characters as a type.
Definition at line 335 of file compile_time_string.hpp.
|
inlinestaticconstexprnoexcept |
True if string is empty.
Definition at line 347 of file compile_time_string.hpp.
|
inlinestaticconstexprnoexcept |
Returns the string data as a view.
Definition at line 353 of file compile_time_string.hpp.
|
inlineconstexprnoexcept |
Concatentation operator.
OtherCs | Character pack from other instance |
other | Instance to concatenate (only used for CTAD) |
Definition at line 384 of file compile_time_string.hpp.
|
inlinestaticconstexprnoexcept |
Number of characters in string.
Definition at line 341 of file compile_time_string.hpp.