MCPcopy Create free account
hub / github.com/comaps/comaps / make_read_adapter

Function make_read_adapter

libs/base/array_adapters.hpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template <class TCont>
47array_read<typename TCont::value_type> make_read_adapter(TCont const & cont)
48{
49 return array_read<typename TCont::value_type>(cont.empty() ? 0 : &cont[0], cont.size());
50}
51
52template <class T>
53class array_write : public detail::array_impl<T, T *>

Callers 4

DecodeImplFunction · 0.85
TestDecodingFunction · 0.85
EncodeFunction · 0.85
TestPolylineEncodeFunction · 0.85

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by 2

TestDecodingFunction · 0.68
TestPolylineEncodeFunction · 0.68