Re-arranged files

This commit is contained in:
2022-08-31 20:01:39 +02:00
parent 7243b50fbc
commit b070dc655a
9 changed files with 69 additions and 61 deletions

View File

@@ -23,8 +23,10 @@
}
template<typename T>
static constexpr void io_class__volatile_assign(volatile T& dst, const T& src) {
dst.raw_value = src.raw_value;
static constexpr __always_inline void io_class__volatile_assign(T& dst, const T& src) {
typedef decltype(dst.raw_value) DST_VALUE;
const_cast<volatile DST_VALUE&>(dst.raw_value) = src.raw_value;
}
#endif //!__JABYENGINE_IO_CLASS_HELPER_HPP__