Bond
 
Loading...
Searching...
No Matches
bond_version.h
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#pragma once
5
6#include <bond/core/config.h>
7
8#include <stdint.h>
9#include <type_traits>
10
11#define BOND_VERSION 0x0a00
12#define BOND_MIN_CODEGEN_VERSION 0x0c10
13
14namespace bond
15{
16 template <typename... T>
17 struct Protocols;
18
19 template <typename BufferT>
20 class CompactBinaryReader;
21
22 template <typename BufferT, typename MarshaledBondedProtocolsT = Protocols<CompactBinaryReader<BufferT> > >
23 class SimpleBinaryReader;
24
25 BOND_CONSTEXPR_OR_CONST uint16_t v1 = 0x0001;
26 BOND_CONSTEXPR_OR_CONST uint16_t v2 = 0x0002;
27
28 template <typename T> struct
29 default_version
30 : std::integral_constant<uint16_t, v1> {};
31}
namespace bond
Definition: apply.h:17