Owning wrapper: holds context_type by value, sharing lifetime with the handle obtained from ref.
More...
#include <sink_provider.hpp>
template<typename Tag>
class microfmt::sink_provider< Tag >
Owning wrapper: holds context_type by value, sharing lifetime with the handle obtained from ref.
- Template Parameters
-
◆ context_type
◆ traits_type
◆ sink_provider()
template<typename Tag >
|
|
inlineexplicitconstexprnoexcept |
Constructs the owning wrapper from an already-built context.
◆ as_sink()
◆ ref()
Borrows a sink_provider_ref bound to this wrapper's context.
Ref-qualified &: calling this on a temporary wrapper is a compile error, since the returned handle would otherwise outlive the context it points into.
The documentation for this class was generated from the following file: