|
VLink 2.0.0
A high-performance communication middleware
|
Compile-time format string wrapper that carries type information about arguments. 更多...
#include <format.h>
Public 类型 | |
| using | t = FString |
Public 成员函数 | |
| template<size_t N> | |
| constexpr | FString (const char(&s)[N]) |
| template<typename StrT, std::enable_if_t< std::is_convertible_v< const StrT &, std::string_view >, int > = 0> | |
| constexpr | FString (const StrT &s) |
| operator std::string_view () const | |
| std::string_view | get () const |
Public 属性 | |
| std::string_view | str |
Compile-time format string wrapper that carries type information about arguments.
Acts as a thin std::string_view wrapper tagged with the argument type list. This enables type-safe format_to_n / format_to calls without dynamic dispatch.
| T | Argument types (unused at runtime but encode the expected argument list). |
| using vlink::format::FString< T >::t = FString |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
| std::string_view vlink::format::FString< T >::str |