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_try_lock< T, true > Struct Template Reference

#include <lockable_traits.hpp>

Classes

struct  false_type
 

Public Types

typedef char true_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, value=sizeof(has_member_try_lock< T >::has_member(&T::try_lock))==sizeof(true_type))
 

Static Public Member Functions

template<typename U >
static true_type has_member (bool(U::*)())
 
template<typename U >
static false_type has_member (U)
 

Member Typedef Documentation

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

Member Function Documentation

template<typename T >
boost::sync::detail::has_member_try_lock< T, true >::BOOST_STATIC_CONSTANT ( bool  ,
value  = sizeof(has_member_try_lockT >::has_member(&T::try_lock))==sizeof(true_type) 
)
template<typename T >
template<typename U >
static true_type boost::sync::detail::has_member_try_lock< T, true >::has_member ( bool(U::*)()  )
static
template<typename T >
template<typename U >
static false_type boost::sync::detail::has_member_try_lock< T, true >::has_member ( )
static

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