We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_function_pointer like is_member_function_pointer
// Distributed under the Boost Software License Version 1.0 https://www.boost.org/LICENSE_1_0.txt // Copyright Gero Peterhoff #ifndef BOOST_TYPE_TRAITS_IS_FUNCTION_POINTER_HPP #define BOOST_TYPE_TRAITS_IS_FUNCTION_POINTER_HPP #include <boost/type_traits/remove_pointer.hpp> #include <boost/type_traits/is_function.hpp> #include <boost/type_traits/is_pointer.hpp> namespace boost { template <typename Type> struct is_function_pointer : public integral_constant < bool, is_pointer<Type>::value && is_function<typename remove_pointer<Type>::type>::value > {}; #if !defined(BOOST_NO_CXX17_INLINE_VARIABLES) template <typename Type> inline constexpr bool is_function_pointer_v = is_function_pointer<Type>::value; #endif } // boost #endif // BOOST_TYPE_TRAITS_IS_FUNCTION_POINTER_HPP
The text was updated successfully, but these errors were encountered:
No branches or pull requests
is_function_pointer like is_member_function_pointer
The text was updated successfully, but these errors were encountered: