2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-20 02:42:11 +00:00
Files
gil/test/image_view/image_view_concepts.cpp
Mateusz Łoskot 4500543a74 Add missing template keyword prior to dependent name axis_iterator (Trac 8896)
* Apply patch from https://svn.boost.org/trac10/ticket/8896
* Add compile-time test of RandomAccessNDImageViewConcept
  * Confirms the reported failure (tested with GCC 7.3 and clang 5.0)
  * Verifies correctness of the patch
2018-08-23 16:05:38 +02:00

21 lines
572 B
C++

//
// Copyright 2018 Mateusz Loskot <mateusz at loskot dot net>
//
// 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
//
#include <boost/gil/gil_concept.hpp>
#include <boost/gil/image_view.hpp>
#include <boost/gil/typedefs.hpp>
#define BOOST_TEST_MODULE test_image_view_concepts
#include <gil_test_common.hpp>
namespace gil = boost::gil;
BOOST_AUTO_TEST_CASE(RandomAccessND)
{
boost::function_requires<gil::RandomAccessNDImageViewConcept<gil::gray8_view_t>>();
}