BS 0.0.1 [Runtime]/Generic/Sequence

This commit is contained in:
ninemine
2025-06-16 08:56:55 +08:00
parent ea113e193a
commit 3c7a747bfe
2 changed files with 337 additions and 2 deletions

View File

@@ -272,14 +272,18 @@ constexpr int ConstexprStrCompare(
#endif // PLATFORM_EXTENSION
struct PlatformIndicator
: public
#ifdef _DEBUG
std::false_type
#else
std::true_type
#endif
{
using tag = void;
#ifdef _DEBUG
constexpr static bool IsRelease = false;
#else
constexpr static bool IsRelease = true;
#endif
constexpr static bool value = IsRelease;
#if defined(_WIN64)||defined(_WIN32)
constexpr static bool IsPlatformWindows = true;
#else