2017-10-11 00:27:33 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define ENUM_NAME(name) \
|
2017-10-29 02:35:16 +02:00
|
|
|
case name: return os << #name
|
2017-10-11 00:27:33 +02:00
|
|
|
|
|
|
|
#define ENUM_DEFAULT(name) \
|
2017-10-29 02:35:16 +02:00
|
|
|
default: return os << static_cast<int32_t>(e)
|