]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/type_traits/detected.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / type_traits / detected.hpp
CommitLineData
11fdf7f2
TL
1/*
2Copyright 2017-2018 Glen Joseph Fernandes
92f5a8d4 3(glenjofe@gmail.com)
11fdf7f2
TL
4
5Distributed under the Boost Software License,
6Version 1.0. (See accompanying file LICENSE_1_0.txt
7or copy at http://www.boost.org/LICENSE_1_0.txt)
8*/
9
10#ifndef BOOST_TT_DETECTED_HPP_INCLUDED
11#define BOOST_TT_DETECTED_HPP_INCLUDED
12
13#include <boost/type_traits/detail/detector.hpp>
14#include <boost/type_traits/nonesuch.hpp>
15
16namespace boost {
17
18template<template<class...> class Op, class... Args>
19using detected_t = typename
20 detail::detector<nonesuch, void, Op, Args...>::type;
21
22} /* boost */
23
24#endif