MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / fill

Method fill

include/cpp/marshal/View.hpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template<class T>
42inline void cpp::marshal::View<T>::fill(T value) const
43{
44 for (auto i = 0; i < length; i++)
45 {
46 ptr.ptr[i] = value;
47 }
48}
49
50template<class T>
51inline bool cpp::marshal::View<T>::isEmpty() const

Callers 1

allocMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected