Static Public Attributes | Static Private Member Functions | List of all members
sol::container_detail::has_find_test< T, typename > Struct Template Reference

#include <sol.hpp>

Static Public Attributes

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

Static Private Member Functions

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

Detailed Description

template<typename T, typename = void>
struct sol::container_detail::has_find_test< T, typename >

Definition at line 21347 of file sol.hpp.

Member Function Documentation

◆ test() [1/2]

template<typename T , typename = void>
template<typename C >
static meta::sfinae_no_t sol::container_detail::has_find_test< T, typename >::test (   ...)
staticprivate

◆ test() [2/2]

template<typename T , typename = void>
template<typename C >
static meta::sfinae_yes_t sol::container_detail::has_find_test< T, typename >::test ( decltype(std::declval< C >().find(std::declval< std::add_rvalue_reference_t< typename C::value_type >>())) *  )
staticprivate

Member Data Documentation

◆ value

template<typename T , typename = void>
constexpr bool sol::container_detail::has_find_test< T, typename >::value = std::is_same_v<decltype(test<T>(0)), meta::sfinae_yes_t>
staticconstexpr

Definition at line 21355 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