News for hackers. Stuff that matters.
Re:A brief guide to C++ template metaprogramming by TickleSteve on Sunday September 25, 2016 @04:52AM (#12574488)
In general I like templates.... but that example is just twisted....

Handle errors appropriately, don't wrap a C API like that for gods sake, thats just wasted code trying to be clever.

In 5 years time, someone will look at that and have to try and figure out what the you were trying to do.

There are no comments on this comment yet.