CppCommon  1.0.4.1
C++ Common Library
Namespaces | Functions
flags.inl File Reference

Enum-based flags inline implementation. More...

Go to the source code of this file.

Namespaces

 CppCommon
 C++ Common project definitions.
 

Functions

template<typename TEnum >
void CppCommon::swap (Flags< TEnum > &flags1, Flags< TEnum > &flags2) noexcept
 
template<typename TEnum >
constexpr auto CppCommon::operator& (TEnum value1, TEnum value2) noexcept -> typename std::enable_if< IsEnumFlags< TEnum >::value, Flags< TEnum >>::type
 
template<typename TEnum >
constexpr auto CppCommon::operator| (TEnum value1, TEnum value2) noexcept -> typename std::enable_if< IsEnumFlags< TEnum >::value, Flags< TEnum >>::type
 
template<typename TEnum >
constexpr auto CppCommon::operator^ (TEnum value1, TEnum value2) noexcept -> typename std::enable_if< IsEnumFlags< TEnum >::value, Flags< TEnum >>::type
 

Detailed Description

Enum-based flags inline implementation.

Author
Ivan Shynkarenka
Date
25.08.2016

Definition in file flags.inl.