MCPcopy Create free account
hub / github.com/boostorg/json / from_const

Method from_const

include/boost/json/impl/value_ref.hpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25template<class T>
26value
27value_ref::from_const(void const* p, storage_ptr sp)
28{
29 return value_from( *reinterpret_cast<T const*>(p), std::move(sp) );
30}
31
32template<class T>
33value

Callers

nothing calls this directly

Calls 1

value_fromFunction · 0.85

Tested by

no test coverage detected