Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > Singleton Reference

#include <flyweight_fwd.hpp>

Classes

class  initializer
 

Public Types

typedef value_policy::key_type key_type
 
typedef value_policy::value_type value_type
 

Public Member Functions

 flyweight ()
 
 BOOST_FLYWEIGHT_PERFECT_FWD_WITH_ARGS (explicit flyweight, BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY) template< typename V > flyweight(std
 
 flyweight (const flyweight &x)
 
 flyweight (flyweight &x)
 
 flyweight (const flyweight &&x)
 
 flyweight (flyweight &&x)
 
template<typename V >
boost::enable_if
< boost::is_convertible
< std::initializer_list< V >
, key_type >, flyweight & >
::type 
operator= (std::initializer_list< V > list)
 
flyweightoperator= (const flyweight &x)
 
flyweightoperator= (const value_type &x)
 
flyweightoperator= (value_type &&x)
 
const key_typeget_key () const
 
const value_typeget () const
 
 operator const value_type & () const
 
void swap (flyweight &x)
 

Static Public Member Functions

static bool init ()
 

Friends

bool operator== (const flyweight &x, const flyweight &y)
 

Member Typedef Documentation

template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
typedef value_policy::key_type boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::key_type
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
typedef value_policy::value_type boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::value_type

Constructor & Destructor Documentation

template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::flyweight ( )
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::flyweight ( const flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::flyweight ( flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::flyweight ( const flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &&  x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::flyweight ( flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &&  x)
inline

Member Function Documentation

template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::BOOST_FLYWEIGHT_PERFECT_FWD_WITH_ARGS ( explicit  flyweight,
BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY   
)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
const value_type& boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::get ( ) const
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
const key_type& boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::get_key ( ) const
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
static bool boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::init ( void  )
inlinestatic
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator const value_type & ( ) const
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
template<typename V >
boost::enable_if< boost::is_convertible<std::initializer_list<V>,key_type>,flyweight&>::type boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator= ( std::initializer_list< V >  list)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
flyweight& boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator= ( const flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
flyweight& boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator= ( const value_type x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
flyweight& boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator= ( value_type &&  x)
inline
template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
void boost::flyweights::flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 >::swap ( flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  x)
inline

References boost::swap.

Friends And Related Function Documentation

template<typename T, typename Arg1, typename Arg2, typename Arg3, typename Arg4 , typename Arg5 >
bool operator== ( const flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  x,
const flyweight< T, Arg1, Arg2, Arg3, Arg4, Arg5 > &  y 
)
friend

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