Non-constant expressions do not fail a static_assert (#2215)

This commit is contained in:
Rangi authored and GitHub committed 2026-10-14 19:24:47 -04:00
1 parent ddd4ba9952
commit 586bd2eec8
8 files changed
+11 -20

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ void act_Endc();
AlignmentSpec act_Alignment(int32_t alignment, int32_t alignOfs);
void act_Assert(AssertionType type, Expression const &expr, std::string const &message);
void act_StaticAssert(AssertionType type, int32_t condition, std::string const &message);
void act_StaticAssert(AssertionType type, Expression const &expr, std::string const &message);
std::optional<std::string> act_ReadFile(std::string const &name, uint32_t maxLen);