Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
Scroom::Bookkeeping::Detail::LValue< V > Class Template Reference

#include <bookkeepingimpl.hh>

Collaboration diagram for Scroom::Bookkeeping::Detail::LValue< V >:
Collaboration graph

Public Types

using VTPtr = typename ValueType< V >::Ptr
 

Public Member Functions

 LValue (VTPtr pv_)
 
LValueoperator= (const V &v)
 
 operator V ()
 

Private Attributes

VTPtr pv
 

Member Typedef Documentation

◆ VTPtr

template<typename V >
using Scroom::Bookkeeping::Detail::LValue< V >::VTPtr = typename ValueType<V>::Ptr

Constructor & Destructor Documentation

◆ LValue()

template<typename V >
Scroom::Bookkeeping::Detail::LValue< V >::LValue ( VTPtr  pv_)
inlineexplicit
148 : pv(std::move(pv_))
149 {
150 }
VTPtr pv
Definition bookkeepingimpl.hh:144

Member Function Documentation

◆ operator V()

template<typename V >
Scroom::Bookkeeping::Detail::LValue< V >::operator V ( )
inlineexplicit
158{ return pv->value; }

◆ operator=()

template<typename V >
LValue & Scroom::Bookkeeping::Detail::LValue< V >::operator= ( const V v)
inline
153 {
154 pv->value = v;
155 return *this;
156 }

Member Data Documentation

◆ pv


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