1 // 2 // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net> 3 // 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 7 // 8 #include <boost/gil.hpp> 9 #include <boost/mp11.hpp> 10 11 #include "test_fixture.hpp" 12 13 namespace gil = boost::gil; 14 using namespace boost::mp11; 15 main()16int main() 17 { 18 static_assert(mp_all_of 19 < 20 gil::test::fixture::pixel_typedefs, 21 gil::pixel_reference_is_mutable 22 >::value, 23 "pixel_reference_is_mutable should yield true for all core pixel typedefs"); 24 25 static_assert(!mp_all_of 26 < 27 mp_transform 28 < 29 gil::test::fixture::nested_type, 30 gil::test::fixture::representative_pixel_types 31 >, 32 gil::pixel_reference_is_mutable 33 >::value, 34 "pixel_reference_is_mutable should yield true for some representative core pixel types"); 35 } 36