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

Function generic_repr

src/python/axis.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32template <typename T>
33bp::str generic_repr(const T& t) {
34 std::ostringstream os;
35 os << t;
36 return os.str().c_str();
37}
38
39struct generic_iterator {
40 generic_iterator(bp::object o) : iterable(o), size(bp::len(iterable)) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected