The Wayback Machine - https://web.archive.org/web/20220402020057/https://github.com/topics/mpp
Skip to content
#

mpp

Here are 57 public repositories matching this topic...

sduzh
sduzh commented Dec 21, 2021

I thought the size of std::bitset<16> is 2 bytes, but it turns out it's 8 bytes

#include <bitset>
#include <iostram>

int main() {
    std::cout << sizeof(std::bitset<2>) << std::endl;
    std::cout << sizeof(std::bitset<8>) << std::endl;
    std::cout << sizeof(std::bitset<16>) << std::endl;
    std::cout << sizeof(std::bitset<32>) << std::endl;
    std::cout << sizeof(std::bitset
type/enhancement good first issue

Improve this page

Add a description, image, and links to the mpp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mpp topic, visit your repo's landing page and select "manage topics."

Learn more