Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84658 - trunk/boost/gil
From: chhenning_at_[hidden]
Date: 2013-06-06 13:54:16


Author: chhenning
Date: 2013-06-06 13:54:15 EDT (Thu, 06 Jun 2013)
New Revision: 84658
URL: http://svn.boost.org/trac/boost/changeset/84658

Log:
Added comment explaining how memory will be reused when possible.

Text files modified:
   trunk/boost/gil/image.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/gil/image.hpp
==============================================================================
--- trunk/boost/gil/image.hpp Thu Jun 6 13:26:45 2013 (r84657)
+++ trunk/boost/gil/image.hpp 2013-06-06 13:54:15 EDT (Thu, 06 Jun 2013) (r84658)
@@ -50,6 +50,8 @@
 /// Note that its element type does not have to be a pixel. \p image can be instantiated with any Regular element,
 /// in which case it models the weaker RandomAccess2DImageConcept and does not model PixelBasedConcept
 ///
+/// When recreating an image of the same or smaller size the memory will be reused if possible.
+///
 ////////////////////////////////////////////////////////////////////////////////////////
 
 template< typename Pixel, bool IsPlanar = false, typename Alloc=std::allocator<unsigned char> >


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk