Skip to content

Commit edfe7f7

Browse files
committed
Nullable now accepts R_NilValue as a default parameter. See issue #394.
1 parent 988f17a commit edfe7f7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

inst/include/Rcpp/Nullable.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ namespace Rcpp {
3131

3232
template<class T>
3333
class Nullable {
34-
private:
35-
template<class U>
36-
friend class InputParameter;
37-
38-
template<class U>
39-
friend class traits::Exporter;
40-
4134
public:
4235

4336
/**
@@ -55,8 +48,6 @@ namespace Rcpp {
5548

5649
inline Nullable(const T &t) : m_sexp(t), m_set(true) {}
5750

58-
protected:
59-
6051
/**
6152
* Standard constructor of a Nullable object
6253
*

0 commit comments

Comments
 (0)