[Rcpp-commits] r3184 - in pkg/Rcpp/inst/doc: . Rcpp-extending notyet
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Aug 27 13:25:00 CEST 2011
Author: edd
Date: 2011-08-27 13:24:59 +0200 (Sat, 27 Aug 2011)
New Revision: 3184
Modified:
pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw
pkg/Rcpp/inst/doc/notyet/Rcpp-api.Rnw
Log:
removed exception specifier from vignettes
Modified: pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2011-08-27 00:15:18 UTC (rev 3183)
+++ pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2011-08-27 11:24:59 UTC (rev 3184)
@@ -114,7 +114,7 @@
<<lang=cpp>>=
// conversion from R to C++
-template <typename T> T as( SEXP m_sexp) throw(not_compatible) ;
+template <typename T> T as( SEXP m_sexp) ;
// conversion from C++ to R
template <typename T> SEXP wrap(const T& object) ;
@@ -291,7 +291,7 @@
// declaring the specialization
namespace Rcpp {
- template <> Bar as( SEXP ) throw(not_compatible) ;
+ template <> Bar as( SEXP ) ;
}
// this must appear after the specialization,
Modified: pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw 2011-08-27 00:15:18 UTC (rev 3183)
+++ pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw 2011-08-27 11:24:59 UTC (rev 3184)
@@ -475,7 +475,7 @@
\code{Rcpp::as} template whose signature is:
%
\begin{Code}
-template <typename T> T as(SEXP x) throw(not_compatible);
+template <typename T> T as(SEXP x);
\end{Code}
%
It offers less flexibility and currently
Modified: pkg/Rcpp/inst/doc/notyet/Rcpp-api.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/notyet/Rcpp-api.Rnw 2011-08-27 00:15:18 UTC (rev 3183)
+++ pkg/Rcpp/inst/doc/notyet/Rcpp-api.Rnw 2011-08-27 11:24:59 UTC (rev 3184)
@@ -28,7 +28,7 @@
\paragraph{Constructors}
\begin{verbatim}
-IntegerVector( SEXP x ) throw(not_compatible) ;
+IntegerVector( SEXP x );
\end{verbatim}
This constructor creates a \texttt{IntegerVector} from an existing \texttt{SEXP},
More information about the Rcpp-commits
mailing list