Skip to content

Releases: martinmoene/scope-lite

0.2.0

16 Sep 18:57
Compare
Choose a tag to compare

This release of scope lite adds the ability to use global function objects with the C++98 version (issue #4. Thanks to @hayguen).

Additions:

  • Add construction of a scope_exit, scope_fail, or scope_success object with a global function object as parameter. See example/04-local-scope-cpp98.cpp.
  • Add export() to CMakeLists.txt, enabling importing targets.

Changes:

  • With C++98, the type changes from scope_exit to scope_exit<>, or scope_exit<void(*)()> when using a function pointer as argument. Likewise for scope_fail and scope_success.

Fixes:

  • None

0.1.0

13 Nov 15:50
Compare
Choose a tag to compare

This is the first non-alpha release of scope lite. It contains the following changes with respect to v0.1.0-alpha.

Changes:

  • Allow for cooperation with Boost uncaught_exceptions.hpp for libc++ (#3, thanks @Pesa).
  • Add Visual Studio 2019 to the Appveyor build matrix (nonstd lite project issue 47).
  • Add tests for move-construction.

Fixes:

  • Fix noexcept for __cxa_get_globals() on FreeBSD/OpenBSD (#3, thanks @Pesa).
  • Improve varied declaration of __cxa_get_globals() (#3, thanks @Pesa).
  • Unconditionally include <cxxabi.h> for libstdc++ (#3, thanks @Pesa).
  • Swap comments regarding libc++ and libstdc++ (#3, thanks @Pesa).
  • Prevent clang warning in unique_resource (#2, thanks @Pesa).
  • Use namespace std11 for is_nothrow_move_constructible (VC10).

0.1.0-alpha

07 Jul 13:50
Compare
Choose a tag to compare

First alpha release of scope lite.

Feedback welcome :)