#include "../bitfield.hpp"
#include "../reflect/map_enumerators.hpp"
#include "../valid_if/indicated.hpp"
#include <cstdint>
Go to the source code of this file.
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
Typedefs | |
using | eagine::serialization_errors = bitfield< serialization_error_code > |
Alias for serialization error bitfield. More... | |
using | eagine::deserialization_errors = bitfield< deserialization_error_code > |
Alias for deserialization error bitfield. More... | |
template<typename T > | |
using | eagine::serialization_result = valid_if_indicated< T, serialization_errors, bool, false > |
Alias for result type of serialization operations. More... | |
template<typename T > | |
using | eagine::deserialization_result = valid_if_indicated< T, deserialization_errors, bool, false > |
Alias for result type of deserialization operations. More... | |
Functions | |
template<typename T > | |
static auto | eagine::get_errors (const serialization_result< T > &result) noexcept -> serialization_errors |
Returns the error bitfield from a serialization result. | |
template<typename T > | |
static auto | eagine::get_errors (const deserialization_result< T > &result) noexcept -> deserialization_errors |
Returns the error bitfield from a deserialization result. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt