• Shreeraj Jadhav's avatar
    constexpr construction for Vec classes · 94749655
    Shreeraj Jadhav authored
    Vec class objects can now be constructed during compile-time
    as constant expressions by calling Vec( T, ... ) constructors
    or through brace-initialization.
    Constant expression using fill constructor and nested vectors
    of sizes greater than 4 are not supported yet.
    Changes made to WrappedOperators.h for resolving overload
    ambiguities in Vec construction and typecasting.
    Appropriate test cases were added to UnitTestTypes.cxx.
    Addresses issue #199.
WrappedOperators.h 5.48 KB