MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / tuple_to_string_impl

Function tuple_to_string_impl

src/ifcparse/rocksdb_map_adapter.h:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template<typename Tuple, std::size_t... Is>
129std::string tuple_to_string_impl(const Tuple& t, std::index_sequence<Is...>) {
130 std::ostringstream oss;
131 // Unpack the tuple; add a pipe before each element except the first.
132 ((oss << (Is == 0 ? "" : "|") << std::to_string(std::get<Is>(t))), ...);
133 return oss.str();
134}
135
136template<typename... Ts>
137std::string key_to_string(const std::tuple<Ts...>& key) {

Callers 1

key_to_stringFunction · 0.85

Calls 2

to_stringFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected