On 2011-08-10 19:45, Andrei Alexandrescu wrote:
That's pretty cool actually because it naturally extends the built-in
approach. When you do e.g. if (pointer) that's really equivalent to if
(cast(bool) pointer) and so on.

Andrei

Cool, I always thought that opCast was for explicit casts, but maybe it's explicit in this case, in some way.

--
/Jacob Carlborg

Reply via email to