libcppwrap
A collection of C++ wrappers for native APIs
Loading...
Searching...
No Matches
Namespaces | Functions
string.hpp File Reference
#include <algorithm>
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <limits>
#include <stdexcept>
#include <string>
#include <type_traits>
Include dependency graph for string.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  wx
 

Functions

template<typename T >
std::enable_if< std::is_integral_v< T > &&std::is_unsigned_v< T >, T >::type wx::number (const char *str, int base=10)
 Parses a string as a numeric value with strict formatting and range checks. More...
 
template<typename T >
std::enable_if< std::is_integral_v< T > &&std::is_signed_v< T >, T >::type wx::number (const char *str, int base=10)
 Parses a string as a numeric value with strict formatting and range checks. More...
 
template<typename T >
std::enable_if< std::is_floating_point_v< T >, T >::type wx::number (const char *str)
 Parses a string as a numeric value with strict formatting and range checks. More...
 
template<typename T >
std::enable_if< std::is_integral_v< T >, T >::type wx::number (const std::string &str, int base=10)
 Parses a string as a numeric value with strict formatting and range checks. More...
 
template<typename T >
std::enable_if< std::is_floating_point_v< T >, T >::type wx::number (const std::string &str)
 Parses a string as a numeric value with strict formatting and range checks. More...
 
static std::stringwx::rtrim (std::string &str) noexcept
 Removes trailing whitespace from a string in-place. More...