MCPcopy Create free account
hub / github.com/OpenMC2/OpenMC2 / put_value

Method put_value

src/Settings.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 return value;
65 }
66 inline boost::optional<internal_type> put_value(const external_type &v) const {
67 std::basic_ostringstream<Ch, Traits, Alloc> stream;
68 customizeA::insert(stream, v.first);
69 stream << " ";
70 customizeB::insert(stream, v.second);
71 if (stream) return stream.str();
72 else return { };
73 }
74};
75template <typename Source, typename A, typename B>
76struct get_pair_translator {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected