On 6/9/2015 1:25 PM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= <[email protected]>" wrote:
On Tuesday, 9 June 2015 at 20:01:24 UTC, Walter Bright wrote:
On 6/9/2015 4:25 AM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
<[email protected]>" wrote:
When constexpr is part of the prototype you know that it isn't supposed to do
substantial work.

That doesn't follow.

What doesn't follow? All my constexpr functions are simple.

You've invented your own definition of constexpr; you would as productively tagged your C++ functions with /*simple*/.

But in D, you can invent your own attribute @simple, and then tag functions with that.

Reply via email to