CTFE and DI: The Crossroads of D

deadalnix deadalnix at gmail.com
Thu May 10 11:27:41 PDT 2012


Le 10/05/2012 20:10, David Gileadi a écrit :
> On 5/10/12 11:01 AM, Adam Wilson wrote:
>> It does require some semantic information. And the solution I've seen
>> seen most talked about here is some kind of attribute similar to @pure
>> that tells the compiler to include the implementation in the DI file.
>
> I may be off-base here, but this strikes me as a good case for a pragma.
> No?

Adding more features to the core language when a proper attribute system 
would do the trick is a poor design decision IMO.


More information about the Digitalmars-d mailing list