std::bitset<N>::size
cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev ">
</tbody><tbody>
</tbody>
std::size_t size() const; |
( C++11) | |
constexpr std::size_t size() const noexcept; |
( C++11) | |
, .
()
, , N
#include <bitset>
#include <iostream>
int main() {
std::cout << std::bitset<0x400>().size() << '\n';
}
:
1024
, true (public -) |