#include <boost/gil/concepts/concept_check.hpp>
-#include <boost/type_traits.hpp>
+#include <type_traits>
#if defined(BOOST_CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-local-typedefs"
#endif
-#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
+#if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#endif
/// \code
/// concept ColorSpaceConcept<MPLRandomAccessSequence CS>
/// {
-/// // An MPL Random Access Sequence, whose elements are color tags
+/// // Boost.MP11-compatible list, whose elements are color tags.
/// };
/// \endcode
template <typename CS>
{
void constraints()
{
- // An MPL Random Access Sequence, whose elements are color tags
+ // Boost.MP11-compatible list, whose elements are color tags
// TODO: Is this incomplete?
}
// Models ColorSpaceConcept
template <typename CS1, typename CS2>
-struct color_spaces_are_compatible : is_same<CS1, CS2>
-{
-};
+struct color_spaces_are_compatible : std::is_same<CS1, CS2> {};
/// \ingroup ColorSpaceAndLayoutConcept
/// \brief Two color spaces are compatible if they are the same
/// \code
/// concept ChannelMappingConcept<MPLRandomAccessSequence CM>
/// {
-/// // An MPL Random Access Sequence, whose elements
+/// // Boost.MP11-compatible list, whose elements
/// // model MPLIntegralConstant representing a permutation
/// };
/// \endcode
{
void constraints()
{
- // An MPL Random Access Sequence, whose elements model
+ // Boost.MP11-compatible list, whose elements model
// MPLIntegralConstant representing a permutation.
// TODO: Is this incomplete?
#pragma clang diagnostic pop
#endif
-#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
+#if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
#pragma GCC diagnostic pop
#endif