File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change
1
+ 2015-11-08 Daniel C. Dillon <
[email protected] >
2
+
3
+ * inst/include/Rcpp/Nullable.h: No longer prevent assignment of
4
+ R_NilValue to Nullable<> in function signatures
5
+
1
6
2015-11-07 Dirk Eddelbuettel <
[email protected] >
2
7
3
8
* inst/include/Rcpp/vector/Matrix.h (Rcpp): Beginnings of a Matrix
Original file line number Diff line number Diff line change 17
17
by Qiang , fixing a bug reported by Allessandro on the list )
18
18
\item Matrix classes now have a \code {transpose()} function (fixing
19
19
\ghit {383 })
20
+ \item \code {Nullable } types can now be assigned \code {R_NilValue } in
21
+ function signatures. (PR \ghpr {395 } by Dan , fixing issue \ghit {394 })
20
22
}
21
23
\item Changes in Rcpp Attributes :
22
24
\itemize {
Original file line number Diff line number Diff line change @@ -31,13 +31,6 @@ namespace Rcpp {
31
31
32
32
template <class T >
33
33
class Nullable {
34
- private:
35
- template <class U >
36
- friend class InputParameter ;
37
-
38
- template <class U >
39
- friend class traits ::Exporter;
40
-
41
34
public:
42
35
43
36
/* *
@@ -55,8 +48,6 @@ namespace Rcpp {
55
48
56
49
inline Nullable (const T &t) : m_sexp(t), m_set(true ) {}
57
50
58
- protected:
59
-
60
51
/* *
61
52
* Standard constructor of a Nullable object
62
53
*
You can’t perform that action at this time.
0 commit comments