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

#include <sol.hpp>

Static Public Attributes

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

Private Types

typedef std::array< char, 1 > one
 
typedef std::array< char, 2 > two
 

Static Private Member Functions

template<typename C >
static one test (decltype(&C::set))
 
template<typename C >
static two test (...)
 

Member Typedef Documentation

§ one

template<typename T >
typedef std::array<char, 1> sol::container_detail::has_traits_set_test< T >::one
private

§ two

template<typename T >
typedef std::array<char, 2> sol::container_detail::has_traits_set_test< T >::two
private

Member Function Documentation

§ test() [1/2]

template<typename T >
template<typename C >
static one sol::container_detail::has_traits_set_test< T >::test ( decltype &::set  )
staticprivate

§ test() [2/2]

template<typename T >
template<typename C >
static two sol::container_detail::has_traits_set_test< T >::test (   ...)
staticprivate

Member Data Documentation

§ value

template<typename T >
const bool sol::container_detail::has_traits_set_test< T >::value = sizeof(test<T>(0)) == sizeof(char)
static

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