Scroom  0.14
Scroom::Bookkeeping::Detail::LValue< V > Class Template Reference

#include <bookkeeping.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  }

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:
Scroom::Bookkeeping::Detail::LValue::pv
VTPtr pv
Definition: bookkeepingimpl.hh:144