In order to use std::bitset you will have to include <bitset> header.
std::bitset
<bitset>
#include <bitset>
std::bitset overloads all of the operator functions to allow the same usage as the c-style handling of bitsets.
References