MCPcopy Create free account
hub / github.com/boostorg/histogram / operator()

Method operator()

src/python/histogram.cpp:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 : obj(o), axes(a), success(s) {}
129 template <typename A>
130 void operator()(const A&) const {
131 if (success) return;
132 bp::extract<const A&> get_axis(obj);
133 if (get_axis.check()) {
134 axes.emplace_back(get_axis());
135 success = true;
136 }
137 }
138};
139
140bp::object histogram_axis(const pyhistogram& self, int i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected