How to write a std::bitset template that works on 32 and 64-bit

后端 未结 3 852
天命终不由人
天命终不由人 2020-12-16 03:32

Consider the following code

template void foo(std::bitset bs)
{ /* whatever */ }

int main()
{
    bitset<8> bar;
    fo         


        
3条回答
提交回复
热议问题