MCPcopy Create free account
hub / github.com/USCiLab/cereal / loadValue

Method loadValue

include/cereal/archives/json.hpp:626–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624 //! Loads a value from the current node - small signed overload
625 template <class T, traits::EnableIf<std::is_signed<T>::value,
626 sizeof(T) < sizeof(int64_t)> = traits::sfinae> inline
627 void loadValue(T & val)
628 {
629 search();
630
631 val = static_cast<T>( itsIteratorStack.back().value().GetInt() );
632 ++itsIteratorStack.back();
633 }
634
635 //! Loads a value from the current node - small unsigned overload
636 template <class T, traits::EnableIf<std::is_unsigned<T>::value,

Callers 1

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected