10 #ifndef BOOST_BEAST_DETAIL_EMPTY_BASE_OPTIMIZATION_HPP 11 #define BOOST_BEAST_DETAIL_EMPTY_BASE_OPTIMIZATION_HPP 13 #include <boost/type_traits/is_final.hpp> 14 #include <type_traits> 23 : std::integral_constant<bool,
24 std::is_empty<T>::value &&
25 ! boost::is_final<T>::value>
32 bool ShouldDeriveFrom =
T const & member() const noexcept
Definition: empty_base_optimization.hpp:53
Definition: async_result.hpp:20
empty_base_optimization(T &&t)
Definition: empty_base_optimization.hpp:44
Definition: empty_base_optimization.hpp:22
empty_base_optimization(T const &t)
Definition: empty_base_optimization.hpp:40
empty_base_optimization(T &&t)
Definition: empty_base_optimization.hpp:74
T & member() noexcept
Definition: empty_base_optimization.hpp:78
empty_base_optimization(T const &t)
Definition: empty_base_optimization.hpp:70
Definition: empty_base_optimization.hpp:35
T & member() noexcept
Definition: empty_base_optimization.hpp:48
T const & member() const noexcept
Definition: empty_base_optimization.hpp:83