Boost GIL


Functions

Equivalent to std::fill. More...

Functions

template<typename P , typename V >
BOOST_FORCEINLINE void static_fill (P &p, const V &v)
 

Detailed Description

Equivalent to std::fill.

Example:

rgb8_pixel_t p;
static_fill(p, 10);
assert(p == rgb8_pixel_t(10,10,10));