|
|
|
@ -47,14 +47,17 @@ int test_vec4_ctor() |
|
|
|
|
glm::ivec4 B(A); |
|
|
|
|
Error += glm::all(glm::equal(A, B)) ? 0 : 1; |
|
|
|
|
|
|
|
|
|
#if (GLM_LANG & GLM_LANG_CXX11_FLAG) || (GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12) |
|
|
|
|
// 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_copyable<glm::dvec4>::value ? 0 : 1; |
|
|
|
|
Error += std::is_trivially_copyable<glm::ivec4>::value ? 0 : 1; |
|
|
|
|
Error += std::is_trivially_copyable<glm::uvec4>::value ? 0 : 1; |
|
|
|
|
|
|
|
|
|
Error += std::has_trivial_copy_constructor<glm::vec4>::value ? 0 : 1; |
|
|
|
|
Error += std::is_copy_constructible<glm::vec4>::value ? 0 : 1; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if GLM_HAS_INITIALIZER_LISTS |
|
|
|
|
{ |
|
|
|
|