31 lines
765 B
C++
31 lines
765 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AU_Z.hpp
|
|
Date: 2022-3-26
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
#if !defined(AUROXTL_NO_TRY)
|
|
#define AUROXTL_COMMODITY_TRY try
|
|
#define AUROXTL_COMMODITY_CATCH catch (...)
|
|
#else
|
|
#define AUROXTL_COMMODITY_TRY
|
|
#define AUROXTL_COMMODITY_CATCH while (0)
|
|
#endif
|
|
|
|
|
|
#if (!defined(AURORA_ENGINE_KERNEL) && \
|
|
!defined(_AUHAS_AURORARUNTIME))
|
|
#define AURORA_ROXTL_ALLOCATORS_USE_STD
|
|
#endif
|
|
|
|
#if defined(AURORA_ROXTL_ALLOCATORS_USE_STD)
|
|
#define AURORA_ROXTL_CONTAINERS_USE_PURE
|
|
#endif
|
|
|
|
// Crossing API boundaries will resort in an alloc + copy
|
|
// Don't enable unless you're in the ecosystem
|
|
// Default behaviour (omitted): use the exact std::string type
|