Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::move_upd::get_element_type< T > Struct Template Reference

#include <unique_ptr.hpp>

Classes

struct  DefaultWrap
 

Public Types

typedef bmupmu::if_c< value, T,
DefaultWrap >
::type::element_type 
type
 

Static Public Member Functions

template<typename X >
static char test (int, typename X::element_type *)
 
template<typename X >
static int test (...)
 

Static Public Attributes

static const bool value = (1 == sizeof(test<T>(0, 0)))
 

Member Typedef Documentation

template<typename T >
typedef bmupmu::if_c<value, T, DefaultWrap>::type::element_type boost::move_upd::get_element_type< T >::type

Member Function Documentation

template<typename T >
template<typename X >
static char boost::move_upd::get_element_type< T >::test ( int  ,
typename X::element_type *   
)
static
template<typename T >
template<typename X >
static int boost::move_upd::get_element_type< T >::test (   ...)
static

Member Data Documentation

template<typename T >
const bool boost::move_upd::get_element_type< T >::value = (1 == sizeof(test<T>(0, 0)))
static

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