lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Public Member Functions
lean::pimpl::forward_val< Value, Size > Class Template Reference

Opaque value class that stores values of the given size & forward-declared type. More...

#include <forward_val.h>

List of all members.

Public Types

typedef Value value_type
 Actual type of the value stored by this wrapper, if fully defined.

Public Member Functions

 forward_val ()
 Constructs an opaque value object from the given value.
 forward_val (const value_type &value)
 Constructs an opaque value object from the given value.
 forward_val (const forward_val &right)
 Constructs an opaque value object from the given value.
 ~forward_val ()
 Destructor.
forward_valoperator= (const value_type &value)
 Replaces the stored value with the given new value.
forward_valoperator= (const forward_val &right)
 Replaces the stored value with the given new value.
LEAN_INLINE value_typegetptr (void)
 Gets a pointer to the value concealed by this opaque wrapper.
LEAN_INLINE const value_typegetptr (void) const
 Gets a pointer to the value concealed by this opaque wrapper.
LEAN_INLINE value_typeget (void)
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE const value_typeget (void) const
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE value_typeoperator* ()
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE const value_typeoperator* () const
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE value_typeoperator-> ()
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE const value_typeoperator-> () const
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE operator value_type & ()
 Gets the value concealed by this opaque wrapper.
LEAN_INLINE operator const value_type & () const
 Gets the value concealed by this opaque wrapper.

Detailed Description

template<class Value, size_t Size>
class lean::pimpl::forward_val< Value, Size >

Opaque value class that stores values of the given size & forward-declared type.


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