[ox/claw] Add missing write.cpp

This commit is contained in:
Gary Talent 2020-05-16 22:47:51 -05:00
parent e3e00b1716
commit b1a0fcbc57

23
deps/ox/src/ox/claw/write.cpp vendored Normal file
View File

@ -0,0 +1,23 @@
/*
* Copyright 2016 - 2020 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "write.hpp"
namespace ox::detail {
struct versioned_type {
static constexpr int TypeVersion = 4;
};
struct unversioned_type {
};
static_assert(type_version<versioned_type>::value == 4);
static_assert(type_version<unversioned_type>::value == -1);
}