Skip to content

Commit 8dcc96b

Browse files
committed
Hide Nullable::operatorT() behind a #define
This passes reverse-dependency checks
1 parent 9714763 commit 8dcc96b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2026-04-12 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/include/Rcpp/Nullable.h (Nullable): 'operator T()' is now
4+
behind an opt-in #define
5+
16
2026-04-09 Dirk Eddelbuettel <edd@debian.org>
27

38
* DESCRIPTION (Version, Date): Roll micro version and date

inst/include/Rcpp/Nullable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace Rcpp {
8181
return m_sexp;
8282
}
8383

84-
#if R_VERSION > R_Version(4,3,0)
84+
#if R_VERSION > R_Version(4,3,0) && defined(RCPP_ENABLE_NULLABLE_T)
8585
/**
8686
* operator T() to return nullable object
8787
*

0 commit comments

Comments
 (0)