Skip to content

Commit 6cad7a3

Browse files
added ListOf::size()
1 parent 59bb4b1 commit 6cad7a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inst/include/Rcpp/vector/ListOf.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ class ListOf {
8787
return list.end();
8888
}
8989

90+
inline int size() const {
91+
return list.size() ;
92+
}
93+
9094
class ListOfProxy {
9195

9296
public:

0 commit comments

Comments
 (0)