Skip to content

Releases: user-simon/dandy

Major refactor, better tests, and a more efficient method for named components

19 Dec 12:27
Compare
Choose a tag to compare
  • 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 in dd, enabling you to write code such as dd::int2d while still allowing using 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 to impl
  • Moved to using CMake for building tests
  • Added helper-metafunctions in the dd::traits namespace, such as type_identity (function returning type argument unchanged) and require (alias for std::enable_if_t with second parameter defaulted to bool). Neither of these will be needed for C++20 or later

Hotfix: vector::zero and vector::identity

02 Sep 16:21
Compare
Choose a tag to compare

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

28 Aug 22:33
3b0675a
Compare
Choose a tag to compare

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

09 Aug 17:40
Compare
Choose a tag to compare
1.0

Merge branch 'main' of https://github.com/userexit/dandy