8 #ifndef BOOST_GIL_CONCEPTS_CONCEPTS_CHECK_HPP
9 #define BOOST_GIL_CONCEPTS_CONCEPTS_CHECK_HPP
11 #include <boost/config.hpp>
13 #if defined(BOOST_CLANG)
14 #pragma clang diagnostic push
15 #pragma clang diagnostic ignored "-Wunknown-pragmas"
16 #pragma clang diagnostic ignored "-Wconversion"
17 #pragma clang diagnostic ignored "-Wfloat-equal"
18 #pragma clang diagnostic ignored "-Wuninitialized"
21 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Wconversion"
24 #pragma GCC diagnostic ignored "-Wfloat-equal"
25 #pragma GCC diagnostic ignored "-Wuninitialized"
28 #include <boost/concept_check.hpp>
30 #if defined(BOOST_CLANG)
31 #pragma clang diagnostic pop
34 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
35 #pragma GCC diagnostic pop
40 namespace boost {
namespace gil {
45 #ifdef BOOST_GIL_USE_CONCEPT_CHECK
46 #define BOOST_GIL_CLASS_REQUIRE(type_var, ns, concept) \
47 BOOST_CLASS_REQUIRE(type_var, ns, concept);
49 template <
typename Concept>
50 void gil_function_requires() { function_requires<Concept>(); }
52 #define BOOST_GIL_CLASS_REQUIRE(type_var, ns, concept)
55 void gil_function_requires() {}
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition: algorithm.hpp:36