boost::gil::swap
Exchanges the elements of the lhs view with those of rhs in constant time.
Synopsis
Declared in <boost/gil/image_view.hpp>
template<typename L2>
void
swap(
image_view<L2>& lhs,
image_view<L2>& rhs);
|
This function is a hidden friend of image_view, declared only inside that class: it can be found only through argument-dependent lookup. |
Parameters
Name |
Description |
lhs |
A lightweight object that interprets memory as a 2D array of pixels. Models ImageViewConcept,PixelBasedConcept,HasDynamicXStepTypeConcept,HasDynamicYStepTypeConcept,HasTransposedTypeConcept |
rhs |
A lightweight object that interprets memory as a 2D array of pixels. Models ImageViewConcept,PixelBasedConcept,HasDynamicXStepTypeConcept,HasDynamicYStepTypeConcept,HasTransposedTypeConcept |
Created with MrDocs