bitset constructor can throw.