Keyword cocktails..
2010/12/4 so <s...@so.do>: >> bool opEquals(auto ref inout Tuple rhs) inout { >> foreach (i, T; Types) { >> if (this[i] != rhs[i]) return false; >> } >> return true; >> } >> >> It looks a bit alembicated but let's not forget that Tuple is supposed to >> be very flexible and to do a lot of things. > > Const-system is a one big abomination, considering the consequences it is > quite hard to say it is something good. > As complex as it may look, the above example addresses many problems of this > system. I would hate to write equal C++ code. > > Please lets not add any more keyword/syntax, already forgot we had "auto > ref"... > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ >