Skip to content

Releases: r-lib/cpp11

cpp11 v0.2.0

11 Aug 13:26
Compare
Choose a tag to compare

New features

  • cpp11 is now able to compile on gcc 4.8.5 (#69, @bkietz)

  • cpp_source(), cpp_function() and cpp_eval() now support [[cpp11::linking_to()]] syntax to link to third party packages with C++ headers. (#48)

Minor improvements and fixes

  • as_cpp<E>() now works with enumeration types (#52, @bkietz)

  • as_cpp<int>() and as_cpp<double>() now implicitly coerce between all 3 types of single NA values (#53).

  • list::const_iterator::operator*() added so iterators could be used on list objects (#60, @romainfrancois)

  • safe[] can now work with functions that return any type (#70, @bkietz)

  • writable::logicals::operator=() now allows C++ boolean values (#57, @romainfrancois)

  • The END_CPP macro now includes a catch(...) block to catch all C++ exceptions that do not inherit from std::exception (#47).

  • Improve consistency of inserting NA values in r_string objects (#45)

  • Added a NEWS.md file to track changes to the package.

cpp11 v0.1.0

13 Jul 11:55
Compare
Choose a tag to compare

Initial release