gz/common/FlagSet.hh File Reference
#include <bitset>#include <iostream>#include <cassert>#include <string>Go to the source code of this file.
Classes | |
| class | FlagSet< T, LastElement, ExcludeLast > |
| Set of flags defined by a C++11 enum class. More... | |
| struct | hash< FlagSet< T, LastElement, ExcludeLast > > |
| struct | IsEnumThatContainsSentinel< T, typename > |
| struct | IsEnumThatContainsSentinel< T, decltype(static_cast< void >(T::_))> |
Namespaces | |
| gz | |
| Forward declarations for the common classes. | |
| gz::common | |
| std | |
| STL namespace. | |
Functions | |
| template<typename T > | |
| std::enable_if_t< IsEnumThatContainsSentinel< T >::value, FlagSet< T >> | operator| (const T &_lhs, const T &_rhs) |
Function Documentation
◆ operator|()
| std::enable_if_t< IsEnumThatContainsSentinel<T>::value, FlagSet<T>> operator| | ( | const T & | _lhs, |
| const T & | _rhs | ||
| ) |