// // Copyright 2019 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 // #ifndef BOOST_GIL_USE_CONCEPT_CHECK #error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined #endif #include #include #include namespace mpl = boost::mpl; namespace gil = boost::gil; using boost::function_requires; int main() { function_requires>(); function_requires>(); function_requires>(); using rgb565_pixel_t = gil::packed_pixel_type < std::uint16_t, mpl::vector3_c, gil::rgb_layout_t >::type; function_requires>(); function_requires>(); using bgr556_pixel_t = gil::packed_pixel_type < std::uint16_t, mpl::vector3_c, gil::bgr_layout_t>::type; function_requires>(); function_requires>(); function_requires>(); return 0; }