MCPcopy Create free account
hub / github.com/celtera/avendish / fill

Method fill

include/avnd/common/array.hpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8{
9 T arr[N];
10 constexpr void fill(const auto& val) noexcept
11 {
12 for(int i = 0; i < N; i++)
13 arr[i] = val;
14 }
15 constexpr T& operator[](std::size_t i) noexcept { return arr[i]; }
16 constexpr const T& operator[](std::size_t i) const noexcept { return arr[i]; }
17};

Callers 9

paintMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
audio_channel_managerMethod · 0.45
get_keywordsFunction · 0.45
painter.hppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected