File indexing completed on 2025-01-18 09:53:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_TT_IS_DETECTED_HPP_INCLUDED
0011 #define BOOST_TT_IS_DETECTED_HPP_INCLUDED
0012
0013 #include <boost/type_traits/detail/detector.hpp>
0014 #include <boost/type_traits/nonesuch.hpp>
0015
0016 namespace boost {
0017
0018 template<template<class...> class Op, class... Args>
0019 using is_detected = typename
0020 detail::detector<nonesuch, void, Op, Args...>::value_t;
0021
0022 #if !defined(BOOST_NO_CXX14_VARIABLE_TEMPLATES)
0023 template<template<class...> class Op, class... Args>
0024 constexpr bool is_detected_v = is_detected<Op, Args...>::value;
0025 #endif
0026
0027 }
0028
0029 #endif