On 12/12/2015 09:01 PM, Timon Gehr wrote:
On 12/12/2015 03:51 PM, Mike Parker wrote:
On Saturday, 12 December 2015 at 14:05:04 UTC, Shriramana Sharma wrote:
Mike Parker wrote:

All values, 3 and false included, *are* expressions. They are
expressions with one operand and no operator, but they are still
expressions.

https://en.wikipedia.org/wiki/Value_(computer_science)

That's true, but the fact remains that the AliasSeq stores only the
resultant value of the expression and not the expression itself (which
may be valid or not).

Consider what would happen if they did not evaluate expressions:

AliasSeq!(someFunc, someFunc());

Would you really want someFunc() not to be evaluated?

It isn't evaluated.

Sorry, missed the parentheses.

Reply via email to