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

Method saveLong

include/cereal/archives/json.hpp:270–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 //! 32 bit signed long saving to current node
269 template <class T, traits::EnableIf<sizeof(T) == sizeof(std::int32_t),
270 std::is_signed<T>::value> = traits::sfinae> inline
271 void saveLong(T l){ saveValue( static_cast<std::int32_t>( l ) ); }
272
273 //! non 32 bit signed long saving to current node
274 template <class T, traits::EnableIf<sizeof(T) != sizeof(std::int32_t),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected