quill
Public Types | Public Member Functions | Public Attributes | List of all members
fstring< T > Struct Template Reference

A compile-time format string. More...

#include <base.h>

Collaboration diagram for fstring< T >:
Collaboration graph
[legend]

Public Types

using t = fstring
 

Public Member Functions

template<size_t N>
FMTQUILL_CONSTEVAL FMTQUILL_ALWAYS_INLINE fstring (const char(&s)[N])
 
template<typename S , FMTQUILL_ENABLE_IF(std::is_convertible< const S &, string_view >::value) >
FMTQUILL_CONSTEVAL FMTQUILL_ALWAYS_INLINE fstring (const S &s)
 
template<typename S , FMTQUILL_ENABLE_IF(std::is_base_of< detail::compile_string, S >::value && std::is_same< typename S::char_type, char >::value) >
FMTQUILL_ALWAYS_INLINE fstring (const S &)
 
 fstring (runtime_format_string<> fmt)
 
FMTQUILL_ALWAYS_INLINE operator const string_view & () const
 
auto get () const -> string_view
 

Public Attributes

string_view str
 

Detailed Description

template<typename... T>
struct fstring< T >

A compile-time format string.

Use format_string in the public API to prevent type deduction.


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