[OT] Modules dropped out of C++17

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 9 14:40:37 PDT 2015


On 6/9/2015 1:25 PM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= 
<ola.fosheim.grostad+dlang at gmail.com>" 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?=
>> <ola.fosheim.grostad+dlang at gmail.com>" 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.


More information about the Digitalmars-d mailing list