1 #ifndef PROTOZERO_PBF_MESSAGE_HPP 2 #define PROTOZERO_PBF_MESSAGE_HPP 19 #include <type_traits> 67 static_assert(std::is_same<
pbf_tag_type,
typename std::underlying_type<T>::type>::value,
"T must be enum with underlying type protozero::pbf_tag_type");
73 template <
typename... Args>
86 T tag()
const noexcept {
94 #endif // PROTOZERO_PBF_MESSAGE_HPP Contains the declaration of low-level types used in the pbf format.
pbf_reader() noexcept=default
Definition: pbf_message.hpp:65
Contains the pbf_reader class.
uint32_t pbf_tag_type
Definition: types.hpp:32
pbf_tag_type tag() const noexcept
Definition: pbf_reader.hpp:340
Definition: pbf_reader.hpp:60
bool next()
Definition: pbf_reader.hpp:269
All parts of the protozero header-only library are in this namespace.
Definition: byteswap.hpp:24