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

#include <lockable_traits.hpp>

Classes

struct  derived
 
struct  fallback
 
struct  false_type
 
struct  tester
 

Public Types

typedef char true_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, value=sizeof(has_member< derived >(0))==sizeof(true_type))
 

Static Public Member Functions

template<typename U >
static false_type has_member (tester<&U::lock > *)
 
template<typename U >
static true_type has_member (...)
 

Member Typedef Documentation

template<typename T >
typedef char boost::sync::detail::has_member_called_lock< T, true >::true_type

Member Function Documentation

template<typename T >
boost::sync::detail::has_member_called_lock< T, true >::BOOST_STATIC_CONSTANT ( bool  ,
value  = sizeof(has_member< derived >(0))==sizeof(true_type) 
)
template<typename T >
template<typename U >
static false_type boost::sync::detail::has_member_called_lock< T, true >::has_member ( tester<&U::lock > *  )
static
template<typename T >
template<typename U >
static true_type boost::sync::detail::has_member_called_lock< T, true >::has_member (   ...)
static

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