• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2013 Christian Henning
3 // Copyright 2020 Mateusz Loskot <mateusz@loskot.net>
4 //
5 // Distributed under the Boost Software License, Version 1.0
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
8 //
9 #include <boost/gil.hpp>
10 #include <boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp>
11 
12 namespace gil = boost::gil;
13 
test_is_bit_aligned()14 void test_is_bit_aligned()
15 {
16     using image_t = gil::bit_aligned_image1_type< 4, gil::gray_layout_t>::type;
17     static_assert(gil::is_bit_aligned<image_t::view_t::value_type>::value, "");
18 }
19 
main()20 int main()
21 {
22     test_is_bit_aligned();
23 }
24 
25