Gromacs
2025.0-dev-20241029-e106fce
|
#include <vector>
Define a boolean datatype that can be stored in a std::vector and have a view on it.
Classes | |
class | gmx::ArrayRef< typename > |
STL-like interface to a C array of T (or part of a std container of T). More... | |
struct | gmx::BoolType |
A clone of a bool as a workaround on the template specialization of std::vector<bool> that is incompatible with ArrayRef. More... | |
Functions | |
ArrayRef< bool > | gmx::makeArrayRef (std::vector< BoolType > &boolVector) |
Create ArrayRef to bool from reference to std::vector<BoolType>. More... | |
ArrayRef< const bool > | gmx::makeConstArrayRef (const std::vector< BoolType > &boolVector) |
Create ArrayRef to const bool from reference to std::vector<BoolType>. More... | |