ARB
Public Member Functions | List of all members
Lazy< T, UNDEFINED > Class Template Reference

#include <lazy.h>

Inheritance diagram for Lazy< T, UNDEFINED >:
Inheritance graph
[legend]

Public Member Functions

 Lazy ()
 
 Lazy (T init)
 
bool needs_eval () const
 
bool has_value () const
 
 operator T () const
 
const Lazyoperator= (const T &newval)
 

Detailed Description

template<typename T, T UNDEFINED>
class Lazy< T, UNDEFINED >

Definition at line 26 of file lazy.h.

Constructor & Destructor Documentation

template<typename T, T UNDEFINED>
Lazy< T, UNDEFINED >::Lazy ( )
inline

Definition at line 34 of file lazy.h.

template<typename T, T UNDEFINED>
Lazy< T, UNDEFINED >::Lazy ( T  init)
inlineexplicit

Definition at line 35 of file lazy.h.

Member Function Documentation

template<typename T, T UNDEFINED>
bool Lazy< T, UNDEFINED >::needs_eval ( ) const
inline
template<typename T, T UNDEFINED>
bool Lazy< T, UNDEFINED >::has_value ( ) const
inline
template<typename T, T UNDEFINED>
Lazy< T, UNDEFINED >::operator T ( ) const
inline

Definition at line 40 of file lazy.h.

References arb_assert, and Lazy< T, UNDEFINED >::has_value().

template<typename T, T UNDEFINED>
const Lazy& Lazy< T, UNDEFINED >::operator= ( const T newval)
inline

Definition at line 44 of file lazy.h.


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