Function Or

Synopsis

#include <src/easylogging++.h>

template <typename Enum>
static base::type::EnumType Or(Enum e, base::type::EnumType flag)

Description

No description yet.

Mentioned in

Source

Lines 879-882 in src/easylogging++.h.

template <typename Enum>
static inline base::type::EnumType Or(Enum e, base::type::EnumType flag) {
  return static_cast<base::type::EnumType>(flag) | static_cast<base::type::EnumType>(e);
}





Add Discussion

Log in to comment