tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
basic_format_arg< Context > Struct Template Reference

#include <basic_format_arg.hpp>

Classes

struct  handle
 

Public Member Functions

 basic_format_arg () noexcept=default
 
template<etl::size_t Capacity, typename Traits>
 basic_format_arg (basic_inplace_string< char_type, Capacity, Traits > const &s) noexcept
 
template<typename Traits>
 basic_format_arg (basic_string_view< char_type, Traits > s) noexcept
 
 basic_format_arg (char_type const *s)
 
 basic_format_arg (double n) noexcept
 
 basic_format_arg (float n) noexcept
 
 basic_format_arg (long double n) noexcept
 
 basic_format_arg (nullptr_t) noexcept
 
template<typename T>
 basic_format_arg (T &&v) noexcept
 
template<typename T>
 basic_format_arg (T *p) noexcept
 
 operator bool () const noexcept
 

Public Attributes

variant< bool, char_type, int, unsigned int, long long int, unsigned long long int, float, double, long double, char_type const *, basic_string_view< char_type >, void const *, handlevalue {monostate{}}
 

Constructor & Destructor Documentation

◆ basic_format_arg() [1/10]

template<typename Context>
basic_format_arg ( )
defaultnoexcept

◆ basic_format_arg() [2/10]

template<typename Context>
template<typename T>
basic_format_arg ( T && v)
explicitnoexcept

◆ basic_format_arg() [3/10]

template<typename Context>
basic_format_arg ( float n)
explicitnoexcept

◆ basic_format_arg() [4/10]

template<typename Context>
basic_format_arg ( double n)
explicitnoexcept

◆ basic_format_arg() [5/10]

template<typename Context>
basic_format_arg ( long double n)
explicitnoexcept

◆ basic_format_arg() [6/10]

template<typename Context>
basic_format_arg ( char_type const * s)
explicit

◆ basic_format_arg() [7/10]

template<typename Context>
template<typename Traits>
basic_format_arg ( basic_string_view< char_type, Traits > s)
explicitnoexcept

◆ basic_format_arg() [8/10]

template<typename Context>
template<etl::size_t Capacity, typename Traits>
basic_format_arg ( basic_inplace_string< char_type, Capacity, Traits > const & s)
explicitnoexcept

◆ basic_format_arg() [9/10]

template<typename Context>
basic_format_arg ( nullptr_t )
explicitnoexcept

◆ basic_format_arg() [10/10]

template<typename Context>
template<typename T>
basic_format_arg ( T * p)
explicitnoexcept

Member Function Documentation

◆ operator bool()

template<typename Context>
operator bool ( ) const
inlineexplicitnoexcept

Member Data Documentation

◆ value

template<typename Context>
variant< bool, char_type, int, unsigned int, long long int, unsigned long long int, float, double, long double, char_type const*, basic_string_view<char_type>, void const*, handle > value {monostate{}}

The documentation for this struct was generated from the following file: