<div><div>Why not support Tuple indexing and slicing with [] syntax?</div><div> (see below for a way to index/slice a tuple)</div><div><br></div><div>void main(){</div><div>  alias T=Tuple!(int,double);</div><div>  pragma(msg,T[0].stringof);//_expand_field_0</div>
<div>  //pragma(msg,T[0..2].stringof); //Error: cannot slice type 'Tuple!(int, double)</div><div>  pragma(msg,typeof(T.init[0]).stringof);//int</div><div>  pragma(msg,typeof(tuple(T.init[0..$])).stringof);//Tuple!(int,double)</div>
<div>}</div></div><div><br></div>