Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/histogram
/ add
Method
add
include/boost/histogram/storage/array_storage.hpp:79–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
78
template <typename U>
79
void add(std::size_t i, const U& x) noexcept {
80
BOOST_ASSERT(i < size());
81
array_[i] += x;
82
}
83
84
const_reference operator[](std::size_t i) const noexcept {
85
BOOST_ASSERT(i < size());
Callers
7
increase_and_grow_impl
Function · 0.45
convert_array_storage_impl
Function · 0.45
convert_array_storage_impl<void>
Function · 0.45
main
Function · 0.45
main
Function · 0.45
operator()
Method · 0.45
reduce_to
Method · 0.45
Calls
no outgoing calls
Tested by
5
increase_and_grow_impl
Function · 0.36
convert_array_storage_impl
Function · 0.36
convert_array_storage_impl<void>
Function · 0.36
main
Function · 0.36
main
Function · 0.36