H1 2015 Priorities and Bare-Metal Programming
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 21:21:42 PST 2015
On 2/3/15 9:05 PM, Daniel Murphy wrote:
> "Andrei Alexandrescu" wrote in message
> news:mar39k$hvh$1 at digitalmars.com...
>
>> I think the best route here - and the most in-the-spirit-of-D - is to
>> provide introspection on whether a function is being inlined or not.
>> Then we can always have in libraries:
>>
>> bool uart(ubyte b)
>> {
>> static assert(__traits(inlined),
>> "Inlining of uart() must be supported.");
>> ...
>> }
>
> That would require that inlining is done in the frontend, which is not
> acceptable.
Yah, won't fly. Sorry for the distraction. -- Andrei
More information about the Digitalmars-d
mailing list