Add conversion_use_case

This commit is contained in:
Beman
2014-12-05 09:01:59 -05:00
parent e2045b7ffa
commit 439207b388
4 changed files with 166 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// endian/example/third_party_format.hpp
// Copyright Beman Dawes 2014
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#include <cstdint>
namespace third_party
{
struct record
{
uint32_t id; // big endian
int32_t balance; // big endian
// ... data members whose endianness is not a concern
};
}