ATLAS Offline Software
Loading...
Searching...
No Matches
StringUtilsTemplates.h File Reference
#include <string>
#include <string_view>
#include <vector>
#include <concepts>
#include <CxxUtils/StringUtils.h>
#include <stdexcept>
#include <type_traits>
#include <span>
#include <cstring>
Include dependency graph for StringUtilsTemplates.h:

Go to the source code of this file.

Namespaces

namespace  CxxUtils
namespace  CxxUtils::detail

Concepts

concept  CxxUtils::Numeric

Functions

template<Numeric dType, bool silenceEmpty = true>
void CxxUtils::convertToNumber (std::string_view str, dType &number)
template<typename T = std::string, typename X = std::string_view>
std::vector< T > CxxUtils::tokenize (std::string_view str, X delimiters)
template<typename T>
constexpr size_t CxxUtils::detail::get_arg_size (const T &arg) noexcept
 Computes the exact character length of a given argument at compile time or runtime.
template<typename... Args>
constexpr void CxxUtils::detail::append_to (char *&p, Args &&... args)
 Variadic helper that writes and serializes multiple arguments directly into a raw target character buffer.
template<typename... Args>
constexpr std::string CxxUtils::strcat (Args &&... args)