The suggestion is to implement memobj.fill(obj, count)
which would correspond to queue.template<T> fill(ptr, Tval, count)
.
Due to the need to know template class at compile time, obj
could be permitted to be some
useful fixed size objects, perhaps ctypes scalars, or buffers of supported size.