MeshKit  1.0
myany Struct Reference

#include <myany.hpp>

List of all members.


struct  storage
struct  storage_base

Public Member Functions

 myany ()
template<typename T >
 myany (T const &v)
 myany (myany const &other)
void swap (myany &other)
myanyoperator= (myany other)

Private Attributes

std::unique_ptr< storage_base_storage


void swap (myany &a, myany &b)
template<typename T >
T & any_cast (myany &)
template<typename T >
T const & any_cast (myany const &)

Detailed Description

Definition at line 11 of file myany.hpp.

Constructor & Destructor Documentation

myany ( )
myany ( T const &  v) [inline]

Definition at line 14 of file myany.hpp.

myany ( myany const &  other) [inline]

Definition at line 15 of file myany.hpp.

Member Function Documentation

myany& operator= ( myany  other) [inline]

Definition at line 38 of file myany.hpp.

void swap ( myany other) [inline]

Definition at line 27 of file myany.hpp.

Friends And Related Function Documentation

T& any_cast ( myany a) [friend]

Definition at line 57 of file myany.hpp.

T const& any_cast ( myany const &  a) [friend]

Definition at line 64 of file myany.hpp.

void swap ( myany a,
myany b 
) [friend]

Definition at line 37 of file myany.hpp.

Member Data Documentation

std::unique_ptr<storage_base> _storage [private]

Definition at line 52 of file myany.hpp.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines