digitalmars.D - GDC UDA Attributes (was 'checkedint call removal')
- Iain Buclaw via Digitalmars-d (8/12) Aug 02 2014 When I accepted UDA attribute syntax to replace GDC pragmas, I never
On 2 August 2014 12:12, Artur Skawina via Digitalmars-d
<digitalmars-d 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?
Regards
Iain.
Aug 02 2014








Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com>