[Rcpp-devel] Using namespaces to improve code readability
    Savitsky, Terrance 
    savitsky at rand.org
       
    Fri Dec 17 00:18:09 CET 2010
    
    
  
I note that employing the namespace declaration -  using namespace arma;
- allows one to use the declaration of a new armadillo matrix under an
RcppArmadillo header with - mat X(Xr.begin() .... - instead of -
arma::mat X(Xr.begin() ...
 
Do you not recommend this approach due to possibility for overlapping
class names between Rcpp and armadillo?
 
Thanks, Terrance Savitsky
 
__________________________________________________________________________
This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20101216/79907d9a/attachment.htm>
    
    
More information about the Rcpp-devel
mailing list