MCPcopy Create free account
hub / github.com/boostorg/histogram / main

Function main

examples/guide_custom_storage.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace bh = boost::histogram;
7
8int main() {
9 // create static histogram with array_storage, using int as counter type
10 auto h = bh::make_static_histogram_with(bh::array_storage<int>(),
11 bh::axis::regular<>(10, 0, 1));
12
13 // do something with h
14}
15
16//]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected