News for hackers. Stuff that matters.
Re:A quick primer on type traits in modern C++ by gumby on Saturday February 29, 2020 @01:27PM (#22452054)
Think of it the other way around: there’s a generic method/template, but the developer has a special implementation for a specific case. The compiler already does this for things like memmove() that is properly aligned and sized; this allows user code to cleanly do the same thing.

There are no comments on this comment yet.