Hacker News new | ask | show | jobs
by Chattered 3816 days ago
I haven't coded in C++ for a very long time, but won't any implementation of that function, and additional templated functions which call it, only get checked at template expansion time? As I understand, buggy templated functions and classes can go unnoticed in a codebase or library simply because no-one has instantiated them in a way which exposes the bug. This is definitely not the case for Idris.

My understanding was that concepts began as an attempt to fix this "problem".