MCPcopy Create free account
hub / github.com/LAStools/LAStools / from_json_inplace_array_impl

Function from_json_inplace_array_impl

src/json.hpp:4904–4908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4902
4903template < typename BasicJsonType, typename T, std::size_t... Idx >
4904std::array<T, sizeof...(Idx)> from_json_inplace_array_impl(BasicJsonType&& j,
4905 identity_tag<std::array<T, sizeof...(Idx)>> /*unused*/, index_sequence<Idx...> /*unused*/)
4906{
4907 return { { std::forward<BasicJsonType>(j).at(Idx).template get<T>()... } };
4908}
4909
4910template < typename BasicJsonType, typename T, std::size_t N >
4911auto from_json(BasicJsonType&& j, identity_tag<std::array<T, N>> tag)

Callers 1

from_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected