// // Copyright 2018 Mateusz Loskot // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // FIXME: Avoid Clang's flooding of non-disableable warnings like: // "T does not declare any constructor to initialize its non-modifiable members" // when compiling with concepts check enabled. // See https://bugs.llvm.org/show_bug.cgi?id=41759 #if !defined(BOOST_GIL_USE_CONCEPT_CHECK) && !defined(__clang__) #error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined #endif // FIXME: There are missing headers internally, leading to incomplete types #if 0 #include #include #include #else #include #endif namespace gil = boost::gil; template void test_view() { boost::function_requires>(); boost::function_requires>(); boost::function_requires>(); boost::function_requires>(); } template void test_view_planar() { boost::function_requires>(); boost::function_requires>(); } int main() { test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view(); test_view_planar(); test_view_planar(); test_view_planar(); test_view_planar(); test_view(); test_view(); test_view(); test_view(); test_view_planar(); test_view_planar(); test_view_planar(); test_view_planar(); test_view(); test_view(); test_view(); test_view(); test_view_planar(); test_view_planar(); test_view_planar(); test_view_planar(); return 0; }