Re:How to implement a constant-expression counter in C++
by phaedrus on Monday May 11, 2015 @01:07PM
(#9526201)
I kind of hope they don't fix it. I could see this being as useful as the Boost Pre-processor Library. In fact I already know of a place where it would be useful. The Template Unit Test library requires (did require?) you to manually number your tests in sequence as template arguments. This const_expr counter could be used to not need to assign the numbers by hand.
[ Parent
| on HN ]