Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ItemWrapper< void > Class Reference

#include "lib/item-wrapper.hpp"

Description

Fallback-specialisation for ItemWrapper<void>.

Remarks
This can be relevant when ItemWrapper is used to capture function results, yet the given function has return type void and is used for side-effects.

Definition at line 325 of file item-wrapper.hpp.

Public Member Functions

 ItemWrapper ()
 
 operator bool () const
 
bool isValid () const
 
void reset ()
 
void operator* () const
 
ItemWrapperdefaultInit ()
 

Constructor & Destructor Documentation

◆ ItemWrapper()

ItemWrapper ( )
inline

Definition at line 328 of file item-wrapper.hpp.

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inline

Definition at line 333 of file item-wrapper.hpp.

◆ isValid()

bool isValid ( ) const
inline

Definition at line 334 of file item-wrapper.hpp.

◆ reset()

void reset ( )
inline

Definition at line 335 of file item-wrapper.hpp.

◆ operator*()

void operator* ( ) const
inline
Warning
does nothing

Definition at line 338 of file item-wrapper.hpp.

◆ defaultInit()

ItemWrapper & defaultInit ( )
inline

Definition at line 341 of file item-wrapper.hpp.

+ Collaboration diagram for ItemWrapper< void >:

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