ゴミ箱
Public Types | Static Public Member Functions | List of all members
boost::beast::http::detail::is_fields_helper< T > Struct Template Reference

#include <type_traits.hpp>

Inheritance diagram for boost::beast::http::detail::is_fields_helper< T >:

Public Types

using t1 = decltype(f1(0))
 
using t2 = decltype(f2(0))
 
using t3 = decltype(f3(0))
 
using t4 = decltype(f4(0))
 
using t5 = decltype(f5(0))
 
using t6 = decltype(f6(0))
 
using t7 = decltype(f7(0))
 
using t8 = decltype(f8(0))
 
using t9 = decltype(f9(0))
 
using t10 = decltype(f10(0))
 
using t11 = decltype(f11(0))
 
using type = std::integral_constant< bool, t1::value &&t2::value &&t3::value &&t4::value &&t5::value &&t6::value &&t7::value &&t8::value &&t9::value &&t10::value &&t11::value >
 

Static Public Member Functions

template<class U = is_fields_helper>
static auto f1 (int) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_method_impl(), std::true_type())
 
static auto f1 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f2 (int) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_target_impl(), std::true_type())
 
static auto f2 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f3 (int) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_reason_impl(), std::true_type())
 
static auto f3 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f4 (int) -> decltype( std::declval< bool & >()=std::declval< U const & >().get_chunked_impl(), std::true_type())
 
static auto f4 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f5 (int) -> decltype( std::declval< bool & >()=std::declval< U const & >().get_keep_alive_impl( std::declval< unsigned >()), std::true_type())
 
static auto f5 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f6 (int) -> decltype( void(std::declval< U & >().set_method_impl(std::declval< string_view >())), std::true_type())
 
static auto f6 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f7 (int) -> decltype( void(std::declval< U & >().set_target_impl(std::declval< string_view >())), std::true_type())
 
static auto f7 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f8 (int) -> decltype( void(std::declval< U & >().set_reason_impl(std::declval< string_view >())), std::true_type())
 
static auto f8 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f9 (int) -> decltype( void(std::declval< U & >().set_chunked_impl(std::declval< bool >())), std::true_type())
 
static auto f9 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f10 (int) -> decltype( void(std::declval< U & >().set_content_length_impl( std::declval< boost::optional< std::uint64_t >>())), std::true_type())
 
static auto f10 (...) -> std::false_type
 
template<class U = is_fields_helper>
static auto f11 (int) -> decltype( void(std::declval< U & >().set_keep_alive_impl( std::declval< unsigned >(), std::declval< bool >())), std::true_type())
 
static auto f11 (...) -> std::false_type
 

Member Typedef Documentation

template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t1 = decltype(f1(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t10 = decltype(f10(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t11 = decltype(f11(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t2 = decltype(f2(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t3 = decltype(f3(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t4 = decltype(f4(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t5 = decltype(f5(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t6 = decltype(f6(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t7 = decltype(f7(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t8 = decltype(f8(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::t9 = decltype(f9(0))
template<class T>
using boost::beast::http::detail::is_fields_helper< T >::type = std::integral_constant<bool, t1::value && t2::value && t3::value && t4::value && t5::value && t6::value && t7::value && t8::value && t9::value && t10::value && t11::value>

Member Function Documentation

template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f1 ( int  ) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_method_impl(), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f1 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f10 ( int  ) -> decltype( void(std::declval< U & >().set_content_length_impl( std::declval< boost::optional< std::uint64_t >>())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f10 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f11 ( int  ) -> decltype( void(std::declval< U & >().set_keep_alive_impl( std::declval< unsigned >(), std::declval< bool >())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f11 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f2 ( int  ) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_target_impl(), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f2 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f3 ( int  ) -> decltype( std::declval< string_view & >()=std::declval< U const & >().get_reason_impl(), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f3 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f4 ( int  ) -> decltype( std::declval< bool & >()=std::declval< U const & >().get_chunked_impl(), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f4 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f5 ( int  ) -> decltype( std::declval< bool & >()=std::declval< U const & >().get_keep_alive_impl( std::declval< unsigned >()), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f5 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f6 ( int  ) -> decltype( void(std::declval< U & >().set_method_impl(std::declval< string_view >())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f6 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f7 ( int  ) -> decltype( void(std::declval< U & >().set_target_impl(std::declval< string_view >())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f7 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f8 ( int  ) -> decltype( void(std::declval< U & >().set_reason_impl(std::declval< string_view >())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f8 (   ...) -> std::false_type
static
template<class T>
template<class U = is_fields_helper>
static auto boost::beast::http::detail::is_fields_helper< T >::f9 ( int  ) -> decltype( void(std::declval< U & >().set_chunked_impl(std::declval< bool >())), std::true_type())
static
template<class T>
static auto boost::beast::http::detail::is_fields_helper< T >::f9 (   ...) -> std::false_type
static

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