OpenMiner  0.0.1a
Voxel game engine
Static Public Member Functions | Static Public Attributes | List of all members
sol::detail_::has_overloaded_addressof< T > Struct Template Reference

#include <sol.hpp>

Static Public Member Functions

template<class X >
static constexpr bool has_overload (...)
 
template<class X , size_t S = sizeof(::std::declval<X&>().operator&())>
static constexpr bool has_overload (bool)
 

Static Public Attributes

static constexpr bool value = has_overload<T>(true)
 

Member Function Documentation

§ has_overload() [1/2]

template<typename T >
template<class X >
static constexpr bool sol::detail_::has_overloaded_addressof< T >::has_overload (   ...)
inlinestatic
3459  {
3460  return false;
3461  }

§ has_overload() [2/2]

template<typename T >
template<class X , size_t S = sizeof(::std::declval<X&>().operator&())>
static constexpr bool sol::detail_::has_overloaded_addressof< T >::has_overload ( bool  )
inlinestatic
3464  {
3465  return true;
3466  }

Member Data Documentation

§ value

template<typename T >
constexpr bool sol::detail_::has_overloaded_addressof< T >::value = has_overload<T>(true)
static

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