VIPRA Documentation
Loading...
Searching...
No Matches
basic_format_arg< Context > Class Template Reference

Classes

class  handle
 

Public Member Functions

constexpr operator bool () const noexcept
 
auto type () const -> detail::type
 
auto is_integral () const -> bool
 
auto is_arithmetic () const -> bool
 
template<typename Visitor>
FMT_CONSTEXPR FMT_INLINE auto visit (Visitor &&vis) const -> decltype(vis(0))
 
auto format_custom (const char_type *parse_begin, typename Context::parse_context_type &parse_ctx, Context &ctx) -> bool
 

Friends

class basic_format_args< Context >
 
class dynamic_format_arg_store< Context >
 
template<typename, size_t, size_t, unsigned long long>
struct detail::format_arg_store
 
template<typename ContextType, typename T>
FMT_CONSTEXPR auto detail::make_arg (T &value) -> basic_format_arg< ContextType >
 

Member Function Documentation

◆ visit()

template<typename Context>
template<typename Visitor>
FMT_CONSTEXPR FMT_INLINE auto basic_format_arg< Context >::visit ( Visitor && vis) const -> decltype(vis(0))
inline

Visits an argument dispatching to the appropriate visit method based on the argument type. For example, if the argument type is double then vis(value) will be called with the value of type double.


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