MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / array_fmap

Function array_fmap

Source/PatternEditor.cpp:1579–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577
1578template <typename T, typename F, std::size_t N>
1579constexpr std::array<std::invoke_result_t<F, T>, N>
1580array_fmap(const std::array<T, N> &arr, F f) {
1581 return array_fmap_impl(arr, f, std::make_index_sequence<N>());
1582}
1583
1584constexpr COLORREF MeterCol(unsigned vol) noexcept { // // //
1585 constexpr COLORREF COL_MIN = MakeRGB(64, 240, 32);

Callers 1

DrawMetersMethod · 0.85

Calls 1

array_fmap_implFunction · 0.85

Tested by

no test coverage detected