Gazebo Common

API Reference

6.0.1
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

namespace  gz
 Forward declarations for the common classes.
 
namespace  gz::common
 
namespace  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|()

template<typename T >
std::enable_if_t< IsEnumThatContainsSentinel< T >::value, FlagSet< T > > operator| ( const T &  _lhs,
const T &  _rhs 
)