[Rcpp-commits] r1479 - in pkg/Rcpp/inst/doc: . Rcpp-extending
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 7 17:57:21 CEST 2010
Author: edd
Date: 2010-06-07 17:57:21 +0200 (Mon, 07 Jun 2010)
New Revision: 1479
Modified:
pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
pkg/Rcpp/inst/doc/Rcpp-modules.bib
Log:
added TMP reference
Modified: pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2010-06-07 15:36:08 UTC (rev 1478)
+++ pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2010-06-07 15:57:21 UTC (rev 1479)
@@ -84,8 +84,8 @@
\pkg{Armadillo} \citep{Armadillo} classes, available in the separate package
\pkg{RcppArmadillo} \citep{CRAN:RcppArmadillo}. This document assumes
knowledge of \pkg{Rcpp} as well as some knowledge of \proglang{C++}
- templates.
- }
+ templates \citep{Abrahams+Gurtovoy:2004}.
+}
\section{Introduction}
@@ -148,7 +148,7 @@
When extending \pkg{Rcpp} with your own data type, the recommended way is to
implement a conversion to \texttt{SEXP}. This lets \texttt{Rcpp::wrap} know
-about the new data type. The template meta programming (TMP) dispatch is able to
+about the new data type. The template meta programming (or TMP) dispatch is able to
recognize that a type is convertible to a \texttt{SEXP} and
\texttt{Rcpp::wrap} will use that conversion.
Modified: pkg/Rcpp/inst/doc/Rcpp-modules.bib
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-modules.bib 2010-06-07 15:36:08 UTC (rev 1478)
+++ pkg/Rcpp/inst/doc/Rcpp-modules.bib 2010-06-07 15:57:21 UTC (rev 1479)
@@ -96,3 +96,12 @@
url = {http://arma.sourceforge.net}
}
+ at Book{Abrahams+Gurtovoy:2004,
+ author = {David Abrahams and Aleksey Gurtovoy},
+ title = {\proglang{C++} {T}emplate {M}etaprogramming:
+ Concepts, Tools and Techniques from {B}oost and
+ Beyond},
+ publisher = {Addison-Wesley},
+ year = 2004
+}
+
More information about the Rcpp-commits
mailing list