rcolyer.net
RC Lib  Version 201607061602
Public Member Functions | List of all members
RC::HoldRelated< Hold, Provide > Class Template Reference

Stores the value of type Hold while providing access via type Provide. More...

#include <RCBits.h>

Public Member Functions

 HoldRelated (Hold held, Provide give)
 Stores held, but implicitly casts to related value give.
 
 HoldRelated (Hold held)
 Stores held. Use with Set to set the give value later.
 
void Set (Provide new_give)
 Sets the implicitly cast value of type Provide to give.
 
 operator Provide ()
 Implicitly casts to the give value set.
 
 operator const Provide () const
 Implicitly casts to the give value set.
 
const Provide Get () const
 Explicitly access the value set as give.
 
Provide Get ()
 Explicitly access the value set as give.
 
const Hold & Held () const
 Access the full held value.
 
Hold & Held ()
 Access the full held value.
 

Detailed Description

template<class Hold, class Provide>
class RC::HoldRelated< Hold, Provide >

Stores the value of type Hold while providing access via type Provide.

See also
RStr::ToLPCWSTR()

The documentation for this class was generated from the following file:
email address
— (c) 2015