coord: test coords are trivial types
This commit is contained in:
parent
88d514aa9c
commit
370488c498
@ -4,9 +4,14 @@
|
||||
|
||||
#include "coord/iostream.hpp"
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
static_assert (std::is_trivially_copyable_v<util::point2i>);
|
||||
|
||||
static_assert (util::has_result_v<util::point3f, util::vector3f>);
|
||||
|
||||
static_assert (sizeof (util::point1u) == 1 * sizeof (util::point1u::value_type), "point1u is not packed");
|
||||
|
Loading…
Reference in New Issue
Block a user