libzypp 17.38.6
zyppng::log::detail::ctx_bound_view_proxy< T > Struct Template Reference

Temporary object for streaming, we prefer direct streaming so we have string allocations only when needed. More...

#include <zypp/ng/log/format.h>

Public Member Functions

 operator std::string () const

Public Attributes

const ContextWeakRef ctx
const T & obj

Friends

std::ostream & operator<< (std::ostream &os, const ctx_bound_view_proxy &v)

Detailed Description

template<typename T>
struct zyppng::log::detail::ctx_bound_view_proxy< T >

Temporary object for streaming, we prefer direct streaming so we have string allocations only when needed.

Definition at line 89 of file format.h.

Member Function Documentation

◆ operator std::string()

template<typename T>
zyppng::log::detail::ctx_bound_view_proxy< T >::operator std::string ( ) const
inline

Definition at line 93 of file format.h.

◆ operator<<

template<typename T>
std::ostream & operator<< ( std::ostream & os,
const ctx_bound_view_proxy< T > & v )
friend

Definition at line 99 of file format.h.

Member Data Documentation

◆ ctx

template<typename T>
const ContextWeakRef zyppng::log::detail::ctx_bound_view_proxy< T >::ctx

Definition at line 90 of file format.h.

◆ obj

template<typename T>
const T& zyppng::log::detail::ctx_bound_view_proxy< T >::obj

Definition at line 91 of file format.h.


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