Not sure where is the best place to note this, but on the webpages: 
http://www.digitalmars.com/d/1.0/tuple.html and 
http://www.digitalmars.com/d/2.0/tuple.html  there seems to be a mistake,

"alias Tuple!(float, float, 3) TP; // TP is now a tuple of two floats and 3"
"TP.length      // evaluates to 3"
"alias TP[0..length-1] TQ; // TQ is now the same as Tuple!(float, float)"

Shouldn't that be 0..length-2 ?  Seems like 0..length-1 wouldn't result in a 
slice, but the entire tuple itself.

Reply via email to