Code block as template argument
Виталий Фадеев
vital.fadeev at gmail.com
Tue Feb 11 15:32:37 UTC 2020
On Tuesday, 11 February 2020 at 15:08:11 UTC, Ali Çehreli wrote:
> On 2/11/20 6:58 AM, Andrea Fontana wrote:
>
>>> > Analog C-code with macros:
>>> > #define TPL(M,D,CODE) if ( state & M && diraction = D )
>>>
>>> ^^^^^^^^^^^^^
>
>> The C code apparently does an assignment inside the macro.
>>
>
> I still think it's a typo. :)
>
> Ali
Thank. You understand me rigth, but your presented code too big.
We love simple, beauty.
More information about the Digitalmars-d
mailing list