Skip to content

Neat 0.1.9: The End Of The Beginning

Compare
Choose a tag to compare
@FeepingCreature FeepingCreature released this 17 Sep 00:44
· 498 commits to master since this release

With this release, my task queue of "critical things to implement before the first public release" is finally empty. As such, from here I'll start getting the project ready for actually having more than one user, hopefully!

Changes

  • The type of null is now nullptr_t rather than void*.

Features

  • Add ternary expressions (b if a else c).
  • Expand JSON macro to allow arbitrary Neat expressions as leaves.
  • Implement function return type inference (auto foo() { }).
    • Add nested function literals (foo((int i) { return i; });).
  • Support UFCS template instantiations (foo.templ!T(bar)).

Fixes

  • Fix with fields accessed from nested functions.