MCPcopy Create free account
hub / github.com/citp/BlockSci / operator()

Method operator()

blockscipy/src/python_range_conversion.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 template <typename T>
32 T operator()(const T &val) {
33 return val;
34 }
35
36 NumpyDatetime operator()(const std::chrono::system_clock::time_point &val) {
37 return {std::chrono::duration_cast<std::chrono::nanoseconds>(val.time_since_epoch()).count()};

Callers

nothing calls this directly

Calls 2

GetHexMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected