GDC UDA Attributes (was 'checkedint call removal')
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 2 08:15:28 PDT 2014
On 2 August 2014 14:54, Artur Skawina via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 08/02/14 15:24, Iain Buclaw via Digitalmars-d wrote:
>> On 2 August 2014 12:12, Artur Skawina via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote:
>>> ---------------------------------------------------------------------
>>> static import gcc.attribute;
>>> enum inline = gcc.attribute.attribute("forceinline");
>>>
>>> @inline void assert_()(bool c) {
>>
>> When I accepted UDA attribute syntax to replace GDC pragmas, I never
>> envisioned that this was possible.
>>
>> Maybe someone should raise a pull request to add these short-hand
>> @attr versions into gcc.attribute?
>
> Are you trying to trick me into contributing to GDC? ;)
Yes. :o)
> Of course I would have done so a long time ago, if not for the
> required FSF copyright assignment...
>
Library does not require FSF assignment.
More information about the Digitalmars-d
mailing list