Skip to content

Commit 73229ed

Browse files
added a paragraph about StretchyList. closes #81
1 parent be8f1d5 commit 73229ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

inst/include/Rcpp/StretchyList.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222

2323
namespace Rcpp{
2424

25+
/**
26+
* StretchyList uses a special pairlist to provide efficient insertion
27+
* at the front and the end of a pairlist.
28+
*
29+
* This is a C++ abstraction of the functions NewList, GrowList and Insert
30+
* that are found in places where a pair list has to grow efficiently, e.g.
31+
* in the R parser (gram.y)
32+
*/
2533
RCPP_API_CLASS(StretchyList_Impl),
2634
public DottedPairProxyPolicy<StretchyList_Impl<StoragePolicy> > {
2735
public:

0 commit comments

Comments
 (0)