MCPcopy Create free account
hub / github.com/citp/BlockSci / convertInputPy

Function convertInputPy

blockscipy/src/python_range_conversion.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89template <typename T>
90py::list convertInputPy(T && t) {
91 pybind11::list list;
92 RANGES_FOR(auto && a, std::move(t)) {
93 list.append(std::forward<decltype(a)>(a));
94 }
95 return list;
96}
97
98template <typename T>
99Iterator<decltype(BlockSciTypeConverter{}(std::declval<ranges::range_value_type_t<T>>()))>

Callers 1

operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected