Hacker News new | ask | show | jobs
by jandrewrogers 584 days ago
C++20 added the ability to take class instances as non-type parameters but the rules around the types of classes that can be used in this way are pretty restrictive (for good reason).