Re: with and checked with expression?

2016-05-25 Thread ArturG via Digitalmars-d
On Wednesday, 25 May 2016 at 00:36:04 UTC, Seb wrote: On Tuesday, 24 May 2016 at 19:03:11 UTC, ArturG wrote: would something like this be usefull? A general word of advice - try to keep your post short & concise. It is more likely to get replies then. Yes i might have used to many

Re: with and checked with expression?

2016-05-24 Thread Seb via Digitalmars-d
On Tuesday, 24 May 2016 at 19:03:11 UTC, ArturG wrote: would something like this be usefull? A general word of advice - try to keep your post short & concise. It is more likely to get replies then. Yes it would be to me, but I am not sure whether it would justify the rather uncommon #{}

with and checked with expression?

2016-05-24 Thread ArturG via Digitalmars-d
ive read some discussions about some library solution for the ?. operator, has there been anything added to phobos? wouldnt a checked with expression be a more general/longer form of the ?. operator? A with expression not only allows you to do unchecked/checked access to members but to any