Static Public Attributes | Static Private Member Functions | List of all members
sol::meta::meta_detail::has_insert_test< T > Struct Template Reference

#include <sol.hpp>

Static Public Attributes

static constexpr bool value = !std::is_same_v<decltype(test<T>(0)), sfinae_no_t>
 

Static Private Member Functions

template<typename C >
static sfinae_no_t test (...)
 
template<typename C >
static sfinae_yes_t test (decltype(std::declval< C >().insert(std::declval< std::add_rvalue_reference_t< typename C::value_type >>())) *)
 

Detailed Description

template<typename T>
struct sol::meta::meta_detail::has_insert_test< T >

Definition at line 2527 of file sol.hpp.

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename C >
static sfinae_no_t sol::meta::meta_detail::has_insert_test< T >::test (   ...)
staticprivate

◆ test() [2/2]

template<typename T >
template<typename C >
static sfinae_yes_t sol::meta::meta_detail::has_insert_test< T >::test ( decltype(std::declval< C >().insert(std::declval< std::add_rvalue_reference_t< typename C::value_type >>())) *  )
staticprivate

Member Data Documentation

◆ value

template<typename T >
constexpr bool sol::meta::meta_detail::has_insert_test< T >::value = !std::is_same_v<decltype(test<T>(0)), sfinae_no_t>
staticconstexpr

Definition at line 2535 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53