Skip to content
Prev 532 / 10988 Next

[Rcpp-devel] Is the order of initializations within a data type defined?

Le 24/03/10 21:26, Douglas Bates a ?crit :
I think , is left to right. We actually use this when we do:

IntegerVector x(3) ;
x = 1,2,3;

see maybe this : http://www.cppreference.com/wiki/operator_precedence

I'm not sure I'd want to trust this though.

Romain