When I use std::bitset::bitset( unsigned long long ) this constructs a bitset and when I access it via the operator[], the bits seems to b
std::bitset::bitset( unsigned long long )
operator[]
This is consistent with the way bits are usually numbered - bit 0 represents 20, bit 1 represents 21, etc. It has nothing to do with the endianness of the architecture, which concerns byte ordering not bit ordering.