The source project of this merge request has been removed.
constexpr construction for Vec classes
Vec class objects can now be constructed during compile-time
as constant expressions by calling Vec( T, ... )
constructors.
This is supported for Vec
of sizes 1 to 4 including
nested constructor calls such as
Vec<Vec<int,2>2> a(Vec<int,2>(100,100),Vec<int,2>(200,200));
Appropriate unit tests have been added to UnitTestTypes.cxx.
Addresses issue #199 (closed).
Construction of constexpr Vec using fill constructors or
Vec of sizes greater than 4 are not yet supported.
@robertmaynard @sujin.philip
Edited by Shreeraj Jadhav