Turi Create  4.0
serializable_pod.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef SERIALIZABLE_POD_HPP
7 #define SERIALIZABLE_POD_HPP
8 
9 #include <core/storage/serialization/is_pod.hpp>
10 
11 #define SERIALIZABLE_POD(tname) \
12 namespace turi { \
13  template <> \
14  struct gl_is_pod<tname> { \
15  BOOST_STATIC_CONSTANT(bool, value = true); \
16  }; \
17 }
18 
19 #endif