renamed adapter to reference similar to std::vector<bool>