21 lines
583 B
C++
21 lines
583 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
|
|
|
|
// 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
|
|
//#define AURORA_ROXTL_STRING_USE_STR_ALLOCATOR
|