Template metaprogramming: Difference between revisions

Content deleted Content added
Fixed references. Please see Category:CS1 errors: unsupported parameter.
No edit summary
Line 279:
constexpr int OFFSET = 12;
 
template<typename VALUETYPE, VALUETYPEint OFFSET>
constexpr std::array<VALUETYPE, TABLE_SIZE> table = [] { // OR: constexpr auto table
std::array<VALUETYPE, TABLE_SIZE> A = {};