Passing structs to functions

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 2 14:19:04 PDT 2016


On Saturday, 2 July 2016 at 21:17:33 UTC, Namespace wrote:
> On Saturday, 2 July 2016 at 21:15:29 UTC, ketmar wrote:
>> On Saturday, 2 July 2016 at 21:05:18 UTC, Namespace wrote:
>>> Try this little trick:
>>
>> or don't. such pointers to structs are *dangerous*.
>
> Either that "dangerous" thing or 2^N template bloat.

not "dangerous", but *dangerous*.


More information about the Digitalmars-d-learn mailing list