mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Fix some code formatting
[skip ci]
This commit is contained in:
parent
fd646ae537
commit
894eab5284
5
enum.h
5
enum.h
@ -406,7 +406,8 @@ continue_with(T, U value) { return value; }
|
||||
|
||||
// Values array declaration helper.
|
||||
|
||||
//! Get intrinsic value of an (Enum::value) by taking advantage of C-conversion's parentheses priority
|
||||
//! Get intrinsic value of an (Enum::value) by taking advantage of
|
||||
// C-conversion's parentheses priority
|
||||
template <typename EnumType>
|
||||
struct _eat_assign {
|
||||
explicit BETTER_ENUMS_CONSTEXPR_ _eat_assign(EnumType value) : _value(value)
|
||||
@ -641,7 +642,7 @@ BETTER_ENUMS_ID(GenerateSwitchType(Underlying, __VA_ARGS__)) \
|
||||
\
|
||||
} \
|
||||
\
|
||||
class BETTER_ENUMS_CLASS_ATTRIBUTE Enum { \
|
||||
class BETTER_ENUMS_CLASS_ATTRIBUTE Enum { \
|
||||
private: \
|
||||
typedef ::better_enums::optional<Enum> _optional; \
|
||||
typedef ::better_enums::optional<std::size_t> _optional_index; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user