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.hpp>
9 #include <boost/mp11.hpp>
11 #include "test_fixture.hpp"
13 namespace gil = boost::gil;
14 using namespace boost::mp11;
18 static_assert(mp_all_of
20 gil::test::fixture::pixel_typedefs,
21 gil::pixel_reference_is_mutable
23 "pixel_reference_is_mutable should yield true for all core pixel typedefs");
25 static_assert(!mp_all_of
29 gil::test::fixture::nested_type,
30 gil::test::fixture::representative_pixel_types
32 gil::pixel_reference_is_mutable
34 "pixel_reference_is_mutable should yield true for some representative core pixel types");