xo-alloc/xo-ratio/include/xo/ratio/ratio_reflect.hpp
Roland Conybeare 92df7ca236 Add 'xo-ratio/' from commit 'd18e9afc1d'
git-subtree-dir: xo-ratio
git-subtree-mainline: b4c2b98a88
git-subtree-split: d18e9afc1d
2025-05-10 21:26:39 -05:00

25 lines
561 B
C++

/** @file ratio_reflect.hpp
*
* Author: Roland Conybeare
**/
#pragma once
#include "xo/reflectutil/reflect_struct_info.hpp"
#include "ratio.hpp"
//#include <cstdint>
namespace xo {
namespace reflect {
template <typename Int>
REFLECT_BASE_STRUCT_INFO_TBODY(xo::ratio::ratio<Int>, 2);
template <typename Int>
REFLECT_STRUCT_MEMBER_INFO_TBODY(xo::ratio::ratio<Int>, 0, num);
template <typename Int>
REFLECT_STRUCT_MEMBER_INFO_TBODY(xo::ratio::ratio<Int>, 1, den);
}
}
/** end ratio_reflect.hpp **/