[Rcpp-commits] r1114 - pkg/Rcpp/inst/include/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Apr 23 13:20:48 CEST 2010
Author: romain
Date: 2010-04-23 13:20:48 +0200 (Fri, 23 Apr 2010)
New Revision: 1114
Modified:
pkg/Rcpp/inst/include/Rcpp/Vector.h
Log:
added throw decl to Vector::Vector(SEXP)
Modified: pkg/Rcpp/inst/include/Rcpp/Vector.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Vector.h 2010-04-23 02:56:38 UTC (rev 1113)
+++ pkg/Rcpp/inst/include/Rcpp/Vector.h 2010-04-23 11:20:48 UTC (rev 1114)
@@ -502,7 +502,7 @@
return internal::ListInitialization<iterator,init_type>( start + 1 ) ; ;
}
- Vector( SEXP x ) : Base() {
+ Vector( SEXP x ) throw(not_compatible) : Base() {
RCPP_DEBUG( "Vector<%d>( SEXP = <%p> )", RTYPE, x) ;
Base::setSEXP( r_cast<RTYPE>( x ) ) ;
RCPP_DEBUG( "===========", 0) ;
More information about the Rcpp-commits
mailing list