...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::stl_interfaces::v1_dtl::clear_impl<D, void_t< decltype(std::declval< D >().clear())>>
// In header: <boost/stl_interfaces/sequence_container_interface.hpp> template<typename D> struct clear_impl<D, void_t< decltype(std::declval< D >().clear())>> { // public static functions static constexpr void call(D &) noexcept; };