Releases: user-simon/dandy
Releases · user-simon/dandy
Major refactor, better tests, and a more efficient method for named components
- Refactored the entire thing
- Moved to a more efficient method for component names, using anonymous unions instead of references
- Removed option to disable named components as they no longer incur a performance penalty
- Added more extensive (though yet not extensive enough) tests
- Made the contents of the
dd::types
namespace available indd
, enabling you to write code such asdd::int2d
while still allowingusing namespace dd::types
without exposing unnecessary symbols - Added proper documentation
- Added automatic documentation building on push
- Moved header-file to its own
include
-directory, as is praxis - Renamed the internal namespace from
detail
toimpl
- Moved to using CMake for building tests
- Added helper-metafunctions in the
dd::traits
namespace, such astype_identity
(function returning type argument unchanged) andrequire
(alias forstd::enable_if_t
with second parameter defaulted tobool
). Neither of these will be needed for C++20 or later
Hotfix: vector::zero and vector::identity
Bug fixes
- vector::zero and vector::identity would only compile when instantiated on a 2D vector due to using the wrong constructor
vector::identity member and bool operator
Features
- Added vector::identity member, see readme entry
- Added explicit bool operator overload as a complement to
vector::nonzero
for neater code when using dandy vectors in if-statements.
Initial release
1.0 Merge branch 'main' of https://github.com/userexit/dandy