From cff6966020d7de9c17682bf1d23dd9af4b499a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Thu, 23 Aug 2018 11:23:57 +0200 Subject: [PATCH] Correct description of image_is_basic metafunction (Trac 2979) [ci skip] https://svn.boost.org/trac10/ticket/2979 description: The description of the metafunction boost::gil::image_is_basic says that it will return mpl::true_ if the image uses a basic view and std::allocator, however the implementation returns true for any kind images that use any kind of allocator. --- include/boost/gil/metafunctions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/gil/metafunctions.hpp b/include/boost/gil/metafunctions.hpp index ee446778f..8e5fa5632 100644 --- a/include/boost/gil/metafunctions.hpp +++ b/include/boost/gil/metafunctions.hpp @@ -115,7 +115,7 @@ template struct view_is_basic : public mpl::false_ {}; template struct view_is_basic > : public locator_is_basic {}; /// \ingroup GILIsBasic -/// \brief Basic images must use basic views and std::allocator of char +/// \brief Basic images must use basic views and std::allocator template struct image_is_basic : public mpl::false_ {}; template struct image_is_basic > : public mpl::true_ {};