Hacker News new | ask | show | jobs
by lamp987 1760 days ago
That has nothing to do with C++. Its entirely a compiler thing.
2 comments

Not entirely true - one of the motivations for new features and libraries C++ adds is to make better errors possible. In this case, `static_assert` was added in C++11, and `is_integral_v` was added in C++17. Concepts, the new feature this post is about, falls under that category as well.
True, although the distinction hardly matters to users.