feat(miscellaneous): add enumerators such as ENoInit and EInPlace
This commit is contained in:
parent
cdc5bd77e9
commit
babc7327eb
@ -33,8 +33,6 @@
|
||||
// Define the unnamed namespace
|
||||
#define NAMESPACE_UNNAMED_BEGIN namespace {
|
||||
#define NAMESPACE_UNNAMED_END }
|
||||
#define NAMESPACE_INLINE_UNNAMED_BEGIN inline namespace {
|
||||
#define NAMESPACE_INLINE_UNNAMED_END }
|
||||
|
||||
NAMESPACE_REDCRAFT_BEGIN
|
||||
NAMESPACE_MODULE_BEGIN(Redcraft)
|
||||
@ -43,7 +41,14 @@ NAMESPACE_MODULE_BEGIN(Utility)
|
||||
enum { INDEX_NONE = -1 };
|
||||
enum { UNICODE_BOM = 0xfeff };
|
||||
|
||||
enum EForceInit { ForceInit };
|
||||
enum EForceInit
|
||||
{
|
||||
ForceInit,
|
||||
ForceInitToZero
|
||||
};
|
||||
|
||||
enum ENoInit { NoInit };
|
||||
enum EInPlace { InPlace };
|
||||
|
||||
NAMESPACE_MODULE_END(Utility)
|
||||
NAMESPACE_MODULE_END(Redcraft)
|
||||
|
Loading…
Reference in New Issue
Block a user