Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by lmm on Friday April 28, 2017 @09:38AM
(#14219233)
Ah, last I knew they were relying on macros. Still, ? is an ugly special case where with HKT it could be a reusable general operator.
[ Parent
| on HN ]
Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by vertex-four on Friday April 28, 2017 @10:00AM
(#14219405)
Absolutely - there's currently discussion around a Carrier trait which would make it generic, once we have some variety of HKT. Still, it's good enough for now, and any future development of it will be backwards-compatible.