Public Member Functions | Private Attributes | List of all members
basic_format_string< Char, Args > Class Template Reference

#include <core.h>

Public Member Functions

template<typename S , FMT_ENABLE_IF( std::is_convertible< const S &, basic_string_view< Char >>::value) >
FMT_CONSTEVAL FMT_INLINE basic_format_string (const S &s)
 
 basic_format_string (runtime_format_string< Char > fmt)
 
FMT_INLINE auto get () const -> basic_string_view< Char >
 
FMT_INLINE operator basic_string_view< Char > () const
 

Private Attributes

basic_string_view< Char > str_
 

Detailed Description

template<typename Char, typename... Args>
class basic_format_string< Char, Args >

A compile-time format string.

Definition at line 2768 of file core.h.

Constructor & Destructor Documentation

◆ basic_format_string() [1/2]

template<typename Char , typename... Args>
template<typename S , FMT_ENABLE_IF( std::is_convertible< const S &, basic_string_view< Char >>::value) >
FMT_CONSTEVAL FMT_INLINE basic_format_string< Char, Args >::basic_format_string ( const S s)
inline

Definition at line 2776 of file core.h.

◆ basic_format_string() [2/2]

template<typename Char , typename... Args>
basic_format_string< Char, Args >::basic_format_string ( runtime_format_string< Char >  fmt)
inline

Definition at line 2793 of file core.h.

Member Function Documentation

◆ get()

template<typename Char , typename... Args>
FMT_INLINE auto basic_format_string< Char, Args >::get ( ) const -> basic_string_view<Char>
inline

Definition at line 2796 of file core.h.

◆ operator basic_string_view< Char >()

template<typename Char , typename... Args>
FMT_INLINE basic_format_string< Char, Args >::operator basic_string_view< Char > ( ) const
inline

Definition at line 2795 of file core.h.

Member Data Documentation

◆ str_

template<typename Char , typename... Args>
basic_string_view<Char> basic_format_string< Char, Args >::str_
private

Definition at line 2770 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50