OS Manuals

bitset.hpp(3)

bitset.hpp - Support for types found in <bitset>.

bitset.hpp(3) Library Functions Manual bitset.hpp(3)

bitset.hpp - Support for types found in <bitset>.

#include 'cereal/cereal.hpp'
#include 'cereal/types/string.hpp'
#include <bitset>


enum class cereal::bitset_detail::type : uint8_t { ulong, ullong, string, bits }
The type the bitset is encoded with.


template<class Archive, size_t N, traits::EnableIf< traits::is_output_serializable< BinaryData< std::uint32_t >, Archive >::value > = traits::sfinae> void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::bitset< N > const &bits)
Serializing (save) for std::bitset when BinaryData optimization supported. template<class Archive, size_t N, traits::DisableIf< traits::is_output_serializable< BinaryData< std::uint32_t >, Archive >::value > = traits::sfinae> void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::bitset< N > const &bits)
Serializing (save) for std::bitset when BinaryData is not supported. template<class Archive, size_t N> void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::bitset< N > &bits)
Serializing (load) for std::bitset.

Support for types found in <bitset>.

Generated automatically by Doxygen for cereal from the source code.

Mon Oct 26 2026 20:39:03 cereal

cereal 1.3.2-r8 · enterprise-packages · ingested 2026-10-27