From edfe7f7df14078448a9df53cb939d9ded09f6ede Mon Sep 17 00:00:00 2001 From: "Daniel C. Dillon" Date: Sun, 8 Nov 2015 07:33:11 -0600 Subject: [PATCH] Nullable now accepts R_NilValue as a default parameter. See issue #394. --- inst/include/Rcpp/Nullable.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/inst/include/Rcpp/Nullable.h b/inst/include/Rcpp/Nullable.h index 7af5fdc8c..67c02f0cc 100644 --- a/inst/include/Rcpp/Nullable.h +++ b/inst/include/Rcpp/Nullable.h @@ -31,13 +31,6 @@ namespace Rcpp { template class Nullable { - private: - template - friend class InputParameter; - - template - friend class traits::Exporter; - public: /** @@ -55,8 +48,6 @@ namespace Rcpp { inline Nullable(const T &t) : m_sexp(t), m_set(true) {} - protected: - /** * Standard constructor of a Nullable object *