Sean Kelly: > { > ref p = somevery.long.struct.or.class[17].name; > y += p.x; > ++p.x; > }
{ alias somevery.long.struct.or.class[17].name p; y += p.x; ++p.x; } Or: { alias somevery.long.struct.or.class[17].name as p; y += p.x; ++p.x; } Or nicer: alias somevery.long.struct.or.class[17].name as p { y += p.x; ++p.x; } Bye, bearophile