You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vector element accessors could fail at compile time instead of runtime #89
Hi, some members of the vector class template (e.g. x(), y(), z(), w() and rgb equivalents) don't make sense for certain vector sizes and will fail at runtime. It would be really nice if calling, say, obj.w() for obj of type vector<3, double> would cause a compiler error instead of a runtime one.
Activity