Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Utility.hpp File Reference
#include <toolbox/Config.h>
#include <bit>
#include <cstdint>
#include <string_view>
Include dependency graph for Utility.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  toolbox::util::AlwaysFalse< T >
 

Namespaces

namespace  toolbox
 
namespace  toolbox::util
 

Functions

template<typename ValueT >
autotoolbox::util::remove_const (const ValueT &ref)
 
constexpr bool toolbox::util::isdigit (int c) noexcept
 
constexpr int toolbox::util::dec_digits (std::int64_t i) noexcept
 
template<typename UIntegerT >
requires std::unsigned_integral<UIntegerT>
constexpr int toolbox::util::hex_digits (UIntegerT i) noexcept
 
bool toolbox::util::stob (string_view sv, bool dfl) noexcept
 
double toolbox::util::stod (std::string_view sv, double dfl) noexcept
 
template<typename ValueT >
requires std::integral<ValueT> || std::same_as<ValueT, double>
constexpr ValueT toolbox::util::ston (std::string_view sv) noexcept