I started using the GLM library in my code. Seems pretty good, but I can't do things like this:
void foo (const glm :: vec3 & arg); foo ({x, y, z});
because the constructors are all explicit.
It starts to annoy me. I cannot come up with good reasons to prohibit the implicit construction of such simple value types. Did the authors blindly follow some inappropriate sayings or do they know something that I donβt know?
source share