Why is this code causing a compiler error??
template <size_t N>
class A
{
bitset<N> _bits;
void foo(bitset<N>::reference* ref) // this does not compile
{
//some code
}
};
Is N != сonstexpr in this situation??
Error: C2061 syntax error: indentifier 'reference'