mirror of
https://github.com/boostorg/gil.git
synced 2026-02-20 02:42:11 +00:00
* 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
21 lines
572 B
C++
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>>();
|
|
}
|