MCPcopy Create free account
hub / github.com/Segs/Segs / loadValue

Method loadValue

3rd_party/cereal/include/cereal/archives/xml.hpp:502–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500 //! Loads a bool from the current top node
501 template <class T, traits::EnableIf<std::is_unsigned<T>::value,
502 std::is_same<T, bool>::value> = traits::sfinae> inline
503 void loadValue( T & value )
504 {
505 std::istringstream is( itsNodes.top().node->value() );
506 is.setf( std::ios::boolalpha );
507 is >> value;
508 }
509
510 //! Loads a char (signed or unsigned) from the current top node
511 template <class T, traits::EnableIf<std::is_integral<T>::value,

Callers 1

Calls 3

topMethod · 0.80
assignMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected