Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2026-04-08 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/Nullable.h (as): Enhance by adding an explicit
Rcpp::as<T>() aiding cases where implicit as<> does not suffice

2026-04-07 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version and date (twice)
Expand Down
2 changes: 1 addition & 1 deletion inst/include/Rcpp/Nullable.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace Rcpp {
/**
* Returns m_sexp as a T
*/
inline T as() { return get(); }
inline T as() { return Rcpp::as<T>(get()); }

/**
* Return a clone of m_sexp as a T
Expand Down
Loading