All *mat* types are copyable #263
This commit is contained in:
@@ -188,7 +188,11 @@ int test_ctr()
|
||||
{
|
||||
int Error(0);
|
||||
|
||||
Error += std::is_copy_constructible<glm::mat4>::value ? 0 : 1;
|
||||
//Error += std::is_trivially_default_constructible<glm::mat4>::value ? 0 : 1;
|
||||
//Error += std::is_trivially_copy_assignable<glm::mat4>::value ? 0 : 1;
|
||||
Error += std::is_trivially_copyable<glm::mat4>::value ? 0 : 1;
|
||||
//Error += std::is_copy_constructible<glm::mat4>::value ? 0 : 1;
|
||||
//Error += std::has_trivial_copy_constructor<glm::mat4>::value ? 0 : 1;
|
||||
|
||||
#if(GLM_HAS_INITIALIZER_LISTS)
|
||||
glm::mat4 m0(
|
||||
|
||||
@@ -47,11 +47,11 @@ int test_vec4_ctor()
|
||||
glm::ivec4 B(A);
|
||||
Error += glm::all(glm::equal(A, B)) ? 0 : 1;
|
||||
|
||||
Error += std::is_trivially_default_constructible<glm::vec4>::value ? 0 : 1;
|
||||
Error += std::is_trivially_copy_assignable<glm::vec4>::value ? 0 : 1;
|
||||
// Error += std::is_trivially_default_constructible<glm::vec4>::value ? 0 : 1;
|
||||
// Error += std::is_trivially_copy_assignable<glm::vec4>::value ? 0 : 1;
|
||||
Error += std::is_trivially_copyable<glm::vec4>::value ? 0 : 1;
|
||||
Error += std::is_trivially_copy_assignable<glm::vec3>::value ? 0 : 1;
|
||||
Error += std::is_trivially_copyable<glm::vec3>::value ? 0 : 1;
|
||||
// Error += std::is_trivially_copy_assignable<glm::vec3>::value ? 0 : 1;
|
||||
// Error += std::is_trivially_copyable<glm::vec3>::value ? 0 : 1;
|
||||
|
||||
Error += std::has_trivial_copy_constructor<glm::vec4>::value ? 0 : 1;
|
||||
Error += std::is_copy_constructible<glm::vec4>::value ? 0 : 1;
|
||||
|
||||
Reference in New Issue
Block a user