C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Go to the source code of this file.
Namespaces | |
namespace | CppUtilities |
Contains all utilities provides by the c++utilities library. | |
Functions | |
template<class StringType = std::string, class... Args> | |
StringType | CppUtilities::tupleToString (const std::tuple< Args... > &tuple) |
Concatenates all strings hold by the specified tuple. | |
template<class StringType = std::string, class... Args> | |
StringType | CppUtilities::argsToString (Args &&...args) |
template<class Tuple , class StringType , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple >, Traits::IsSpecializingAnyOf< StringType, std::basic_string, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const Tuple &lhs, const StringType &rhs) -> decltype(std::tuple_cat(lhs, std::tuple< const StringType & >(rhs))) |
Allows construction of string-tuples via %-operator, eg. | |
template<class Tuple , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const Tuple &lhs, const char *rhs) -> decltype(std::tuple_cat(lhs, std::tuple< const char * >(rhs))) |
Allows construction of string-tuples via %-operator, eg. | |
template<class Tuple , typename IntegralType , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple >, std::is_integral< IntegralType > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const Tuple &lhs, IntegralType rhs) -> decltype(std::tuple_cat(lhs, std::tuple< IntegralType >(rhs))) |
Allows construction of string-tuples via %-operator, eg. | |
template<class StringType , Traits::EnableIfAny< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const StringType &lhs, const StringType &rhs) -> decltype(std::tuple< const StringType &, const StringType & >(lhs, rhs)) |
Allows construction of string-tuples via %-operator, eg. | |
template<class StringType , Traits::EnableIfAny< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const char *lhs, const StringType &rhs) -> decltype(std::tuple< const char *, const StringType & >(lhs, rhs)) |
Allows construction of string-tuples via %-operator, eg. | |
template<class StringType , Traits::EnableIfAny< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const StringType &lhs, const char *rhs) -> decltype(std::tuple< const StringType &, const char * >(lhs, rhs)) |
Allows construction of string-tuples via %-operator, eg. | |
template<class StringType , Traits::EnableIfAny< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (const StringType &lhs, char rhs) -> decltype(std::tuple< const StringType &, char >(lhs, rhs)) |
Allows construction of string-tuples via %-operator, eg. | |
template<class StringType , Traits::EnableIfAny< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > * = nullptr> | |
constexpr auto | CppUtilities::operator% (char lhs, const StringType &rhs) -> decltype(std::tuple< char, const StringType & >(lhs, rhs)) |
Allows construction of string-tuples via %-operator, eg. | |
template<class Tuple , class StringType , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple >, Traits::Any< Traits::IsSpecializationOf< StringType, std::basic_string >, Traits::IsSpecializationOf< StringType, std::basic_string_view > > > * = nullptr> | |
std::string | CppUtilities::operator+ (const Tuple &lhs, const StringType &rhs) |
Allows construction of final string from previously constructed string-tuple and trailing string via +-operator. | |
template<class Tuple , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple > > * = nullptr> | |
std::string | CppUtilities::operator+ (const Tuple &lhs, const char *rhs) |
Allows construction of final string from previously constructed string-tuple and trailing string via +-operator. | |
template<class Tuple , typename IntegralType , Traits::EnableIf< Traits::IsSpecializationOf< Tuple, std::tuple >, std::is_integral< IntegralType > > * = nullptr> | |
std::string | CppUtilities::operator+ (const Tuple &lhs, IntegralType rhs) |
Allows construction of final string from previously constructed string-tuple and trailing char via +-operator. | |