MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / to_node_tuple_impl

Function to_node_tuple_impl

example/cacheHierarchy/fkYAML/node.hpp:12302–12304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12300/// @param _ An index sequence. (unused)
12301template <typename BasicNodeType, typename... Types, std::size_t... Idx>
12302inline void to_node_tuple_impl(BasicNodeType& n, const std::tuple<Types...>& t, index_sequence<Idx...> /*unused*/) {
12303 n = {std::get<Idx>(t)...};
12304}
12305
12306/// @brief to_node function for std::tuple objects with no value types.
12307/// @note This implementation is needed since calling `to_node_tuple_impl()` with an empty tuple creates a null node.

Callers 1

to_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected