2 // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net>
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
8 //#include <boost/gil/concepts/pixel.hpp>
9 //#include <boost/gil/metafunctions.hpp>
10 //#include <boost/gil/pixel.hpp>
11 //#include <boost/gil/typedefs.hpp>
12 #include <boost/gil.hpp>
13 #include <boost/mp11.hpp>
14 #include <boost/mp11/mpl.hpp>
16 #include "test_fixture.hpp"
18 namespace gil = boost::gil;
19 using namespace boost::mp11;
23 static_assert(mp_all_of
25 gil::test::fixture::pixel_typedefs,
26 gil::pixel_reference_is_mutable
28 "pixel_reference_is_mutable should yield true for all core pixel typedefs");
30 static_assert(!mp_all_of
34 gil::test::fixture::nested_type,
35 gil::test::fixture::representative_pixel_types
37 gil::pixel_reference_is_mutable
39 "pixel_reference_is_mutable should yield true for some representative core pixel types");