add attributes to debug
ag0aep6g via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 25 04:18:05 PDT 2016
On 07/25/2016 04:16 AM, Gorge Jingale wrote:
> On Monday, 25 July 2016 at 02:13:34 UTC, Adam D. Ruppe wrote:
[...]
>> debug(whatever) thingy_here();
[...]
> You can't combine attributes:
>
> @mem @see debug() { prints debug info }
debug(mem) debug(see) { /* ... */ }
Though I'm not sure if the attributes in your example would have an AND
or an OR relation. With debug(...) it's AND, of course.
More information about the Digitalmars-d
mailing list