8 #ifndef BOOST_GIL_CONCEPTS_PIXEL_DEREFERENCE_HPP     9 #define BOOST_GIL_CONCEPTS_PIXEL_DEREFERENCE_HPP    11 #include <boost/gil/concepts/basic.hpp>    12 #include <boost/gil/concepts/concept_check.hpp>    13 #include <boost/gil/concepts/fwd.hpp>    14 #include <boost/gil/concepts/pixel.hpp>    15 #include <boost/gil/concepts/detail/type_traits.hpp>    17 #include <boost/concept_check.hpp>    20 #include <type_traits>    22 #if defined(BOOST_CLANG)    23 #pragma clang diagnostic push    24 #pragma clang diagnostic ignored "-Wunknown-pragmas"    25 #pragma clang diagnostic ignored "-Wunused-local-typedefs"    28 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)    29 #pragma GCC diagnostic push    30 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"    33 namespace boost { 
namespace gil {
    59             boost::UnaryFunctionConcept
    62                 typename detail::remove_const_and_reference<typename D::result_type>::type,
    63                 typename D::argument_type
    66         gil_function_requires<boost::DefaultConstructibleConcept<D>>();
    67         gil_function_requires<boost::CopyConstructibleConcept<D>>();
    68         gil_function_requires<boost::AssignableConcept<D>>();
    72                 typename detail::remove_const_and_reference<typename D::result_type>::type
    75         using const_t = 
typename D::const_t;
    76         gil_function_requires<PixelDereferenceAdaptorConcept<const_t>>();
    78         using value_type = 
typename D::value_type;
    79         gil_function_requires<PixelValueConcept<value_type>>();
    82         using reference = 
typename D::reference; 
    83         using const_reference = 
typename D::const_reference; 
    85         bool const is_mutable = D::is_mutable;
    86         ignore_unused_variable_warning(is_mutable);
    92 struct PixelDereferenceAdaptorArchetype
    94     using argument_type = P;
    95     using result_type = P;
    96     using const_t = PixelDereferenceAdaptorArchetype;
    97     using value_type = 
typename std::remove_reference<P>::type;
    98     using reference = 
typename std::add_lvalue_reference<P>::type;
    99     using const_reference = reference;
   101     static const bool is_mutable = 
false;
   102     P operator()(P)
 const { 
throw; }
   107 #if defined(BOOST_CLANG)   108 #pragma clang diagnostic pop   111 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)   112 #pragma GCC diagnostic pop Represents a unary function object that can be invoked upon dereferencing a pixel iterator.
Definition: pixel_dereference.hpp:53
Pixel concept - A color base whose elements are channels.
Definition: concepts/pixel.hpp:63