2
3
4
5
6
7
8
11#ifndef _MSTD_IS_SAME_FUNCTION_HPP_
12 #define _MSTD_IS_SAME_FUNCTION_HPP_
14 #include <mstd/config.hpp>
17_MSTD_WARNING(
"this is only available for c++17 and greater!");
20 #include <mstd/functions_types.hpp>
24 template<
class Fa,
class Fb,
class =
void>
28 struct is_same_function<F, F, std::void_t<std::enable_if_t<is_function_v<F> > > > : std::true_type {};
30 template<
class Fa,
class Fb>
34 template<
class Fa,
class Fb>
#define _MSTD_HAS_CXX17
Definition config.hpp:45
#define _MSTD_CONSTEXPR17
Definition config.hpp:76
#define _MSTD_HAS_CXX20
Definition config.hpp:52
Definition arithmetic_types.hpp:23
_MSTD_TYPENAME17 function_traits< F >::std_function_type as_std_function_t
Definition function_traits.hpp:608
_MSTD_CONSTEXPR17 bool is_same_function_v
Definition is_same_function.hpp:35
Definition is_same_function.hpp:28
Definition is_same_function.hpp:32
Definition is_same_function.hpp:25