fill
class handler { ... public: ... template <typename T> void fill(void* ptr, const T& pattern, size_t count) }; class queue { ... public: ... template <typename T> event fill(void* ptr, const T& pattern, size_t count); };
void* ptr |
Pointer to the memory to fill. |
const T& pattern |
Pattern to be filled. T should be trivially copyable. |
size_t count |
Number of times to fill pattern into ptr. |
Returns an event representing the fill operation or void if on the handler.