Adobe Source Libraries
2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
type_traits.hpp
Go to the documentation of this file.
1
/*
2
Copyright 2008 Adobe Systems Incorporated
3
Distributed under the Boost Software License - Version 1.0 (see the accompanying file LICENSE
4
or a copy at https://stlab.github.io/adobe_source_libraries/licenses.html)
5
*/
6
7
/**************************************************************************************************/
8
9
10
#ifndef ADOBE_TYPE_TRAITS_HPP
11
#define ADOBE_TYPE_TRAITS_HPP
12
13
#include <type_traits>
14
15
/**************************************************************************************************/
16
17
namespace
adobe
{
18
19
#if __cplusplus < 201703L
20
21
template
<
class
F
,
class
... Args>
22
using
invoke_result_t
= std::result_of_t<F(Args...)>;
23
24
#else
25
26
template
<
class
F,
class
... Args>
27
using
invoke_result_t
= std::invoke_result_t<F, Args...>;
28
29
#endif
30
31
}
// namespace adobe
32
33
/**************************************************************************************************/
34
35
#endif
// include guard
adobe::F
adobe
Definition
class_template.hpp:7
adobe::invoke_result_t
std::result_of_t< F(Args...)> invoke_result_t
Definition
type_traits.hpp:22
adobe
type_traits.hpp
Generated by
1.14.0