MCPcopy Create free account
hub / github.com/Tencent/mars / fill

Method fill

mars/boost/array.hpp:186–189  ·  view source on GitHub ↗

A synonym for fill

Source from the content-addressed store, hash-verified

184 // assign one value to all elements
185 void assign (const T& value) { fill ( value ); } // A synonym for fill
186 void fill (const T& value)
187 {
188 std::fill_n(begin(),size(),value);
189 }
190
191 // check range (may be private because it is static)
192 static void rangecheck (size_type i) {

Callers 1

int128.ccFile · 0.45

Calls 2

beginClass · 0.50
sizeClass · 0.50

Tested by

no test coverage detected