Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
cx Namespace Reference

Namespaces

namespace  literals

Classes

class  basic_string_view
struct  equal_to
struct  equal_to< void >
struct  less
struct  less< void >

Typedefs

using string_view = basic_string_view<char>
using u16string_view = basic_string_view<char16_t>
using u32string_view = basic_string_view<char32_t>
using wstring_view = basic_string_view<wchar_t>

Functions

template<typename C>
constexpr auto begin (C &c) -> decltype(c.begin())
template<typename C>
constexpr auto begin (const C &c) -> decltype(c.begin())
template<typename E>
constexpr const E * begin (std::initializer_list< E > il)
template<typename T, std::size_t N>
constexpr T * begin (T(&array)[N])
template<typename C>
constexpr auto cbegin (const C &c) -> decltype(cx::begin(c))
template<typename C>
constexpr auto cend (const C &c) -> decltype(cx::end(c))
template<typename C>
constexpr auto empty (const C &c) -> decltype(c.empty())
template<typename T, std::size_t N>
constexpr bool empty (const T(&)[N])
template<typename E>
constexpr bool empty (std::initializer_list< E > il)
template<typename C>
constexpr auto end (C &c) -> decltype(c.end())
template<typename C>
constexpr auto end (const C &c) -> decltype(c.end())
template<typename E>
constexpr const E * end (std::initializer_list< E > il)
template<typename T, std::size_t N>
constexpr T * end (T(&array)[N])
template<typename Iterator1, typename Iterator2>
constexpr bool equal (Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2)
template<typename T>
constexpr basic_string_view< T > make_string_view (const T *str, std::size_t s)
template<typename T, std::size_t N>
constexpr basic_string_view< T > make_string_view (const T(&str)[N])
template<typename It>
constexpr It next (It it)
template<typename T>
constexpr bool operator!= (const basic_string_view< T > &lhs, const basic_string_view< T > &rhs)
template<typename T>
std::basic_ostream< T > & operator<< (std::basic_ostream< T > &o, const basic_string_view< T > &s)
template<typename T>
constexpr bool operator== (const basic_string_view< T > &lhs, const basic_string_view< T > &rhs)
template<typename It>
constexpr It prev (It it)
template<typename C>
constexpr auto size (const C &c) -> decltype(c.size())
template<typename T, std::size_t N>
constexpr std::size_t size (const T(&)[N])

Typedef Documentation

◆ string_view

Definition at line 826 of file wildcards.hpp.

◆ u16string_view

Definition at line 827 of file wildcards.hpp.

◆ u32string_view

Definition at line 828 of file wildcards.hpp.

◆ wstring_view

Definition at line 829 of file wildcards.hpp.

Function Documentation

◆ begin() [1/4]

template<typename C>
auto cx::begin ( C & c) -> decltype(c.begin())
constexpr

Definition at line 285 of file wildcards.hpp.

◆ begin() [2/4]

template<typename C>
auto cx::begin ( const C & c) -> decltype(c.begin())
constexpr

Definition at line 280 of file wildcards.hpp.

◆ begin() [3/4]

template<typename E>
const E * cx::begin ( std::initializer_list< E > il)
constexpr

Definition at line 295 of file wildcards.hpp.

◆ begin() [4/4]

template<typename T, std::size_t N>
T * cx::begin ( T(&) array[N])
constexpr

Definition at line 290 of file wildcards.hpp.

◆ cbegin()

template<typename C>
auto cx::cbegin ( const C & c) -> decltype(cx::begin(c))
constexpr

Definition at line 300 of file wildcards.hpp.

◆ cend()

template<typename C>
auto cx::cend ( const C & c) -> decltype(cx::end(c))
constexpr

Definition at line 325 of file wildcards.hpp.

◆ empty() [1/3]

template<typename C>
auto cx::empty ( const C & c) -> decltype(c.empty())
constexpr

Definition at line 265 of file wildcards.hpp.

◆ empty() [2/3]

template<typename T, std::size_t N>
bool cx::empty ( const T(&)[N])
constexpr

Definition at line 270 of file wildcards.hpp.

◆ empty() [3/3]

template<typename E>
bool cx::empty ( std::initializer_list< E > il)
constexpr

Definition at line 275 of file wildcards.hpp.

◆ end() [1/4]

template<typename C>
auto cx::end ( C & c) -> decltype(c.end())
constexpr

Definition at line 310 of file wildcards.hpp.

◆ end() [2/4]

template<typename C>
auto cx::end ( const C & c) -> decltype(c.end())
constexpr

Definition at line 305 of file wildcards.hpp.

◆ end() [3/4]

template<typename E>
const E * cx::end ( std::initializer_list< E > il)
constexpr

Definition at line 320 of file wildcards.hpp.

◆ end() [4/4]

template<typename T, std::size_t N>
T * cx::end ( T(&) array[N])
constexpr

Definition at line 315 of file wildcards.hpp.

◆ equal()

template<typename Iterator1, typename Iterator2>
bool cx::equal ( Iterator1 first1,
Iterator1 last1,
Iterator2 first2,
Iterator2 last2 )
constexpr

Definition at line 769 of file wildcards.hpp.

◆ make_string_view() [1/2]

template<typename T>
basic_string_view< T > cx::make_string_view ( const T * str,
std::size_t s )
constexpr

Definition at line 822 of file wildcards.hpp.

◆ make_string_view() [2/2]

template<typename T, std::size_t N>
basic_string_view< T > cx::make_string_view ( const T(&) str[N])
constexpr

Definition at line 817 of file wildcards.hpp.

◆ next()

template<typename It>
It cx::next ( It it)
constexpr

Definition at line 245 of file wildcards.hpp.

◆ operator!=()

template<typename T>
bool cx::operator!= ( const basic_string_view< T > & lhs,
const basic_string_view< T > & rhs )
constexpr

Definition at line 806 of file wildcards.hpp.

◆ operator<<()

template<typename T>
std::basic_ostream< T > & cx::operator<< ( std::basic_ostream< T > & o,
const basic_string_view< T > & s )

Definition at line 806 of file wildcards.hpp.

◆ operator==()

template<typename T>
bool cx::operator== ( const basic_string_view< T > & lhs,
const basic_string_view< T > & rhs )
constexpr

Definition at line 801 of file wildcards.hpp.

◆ prev()

template<typename It>
It cx::prev ( It it)
constexpr

Definition at line 250 of file wildcards.hpp.

◆ size() [1/2]

template<typename C>
auto cx::size ( const C & c) -> decltype(c.size())
constexpr

Definition at line 255 of file wildcards.hpp.

◆ size() [2/2]

template<typename T, std::size_t N>
std::size_t cx::size ( const T(&)[N])
constexpr

Definition at line 260 of file wildcards.hpp.