diff options
-rw-r--r-- | lib/dbTypes.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/dbTypes.cpp b/lib/dbTypes.cpp index c848045..56e7a86 100644 --- a/lib/dbTypes.cpp +++ b/lib/dbTypes.cpp @@ -18,3 +18,21 @@ namespace std { return std::visit(write {strm}, v); } } + +static_assert(std::is_copy_assignable_v<MyGrate::Date>); +static_assert(std::is_copy_assignable_v<MyGrate::Time>); +static_assert(std::is_copy_assignable_v<MyGrate::DateTime>); +static_assert(std::is_copy_assignable_v<MyGrate::Blob>); +static_assert(std::is_copy_assignable_v<timespec>); +static_assert(std::is_copy_assignable_v<MyGrate::BitSet>); +static_assert(std::is_copy_assignable_v<MyGrate::DbValueV>); +static_assert(std::is_copy_assignable_v<MyGrate::DbValue>); + +static_assert(std::is_move_assignable_v<MyGrate::Date>); +static_assert(std::is_move_assignable_v<MyGrate::Time>); +static_assert(std::is_move_assignable_v<MyGrate::DateTime>); +static_assert(std::is_move_assignable_v<MyGrate::Blob>); +static_assert(std::is_move_assignable_v<timespec>); +static_assert(std::is_move_assignable_v<MyGrate::BitSet>); +static_assert(std::is_move_assignable_v<MyGrate::DbValueV>); +static_assert(std::is_move_assignable_v<MyGrate::DbValue>); |