summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/assert/assert.h
Commit message (Collapse)AuthorAgeFilesLines
* YT-23346: Introduce YT_ASSUME and YT_UNREACHABLE macros.thenewone2024-11-121-0/+14
| | | | | | | | | | | | | Y_ASSUME and Y_UNREACHABLE macros are platform-independent ways to give a hint for a compiler about some value or state. Compilier may use that hint for optimization. On the other hand if the hint is wrong it may lead to undefined behavior. YT_ASSUME and YT_UNREACHABLE are wrappers around Y_ASSUME and Y_UNREACHABLE that actually check that the hint is correct in debug build. That introduces some code safety and at the same time allows certain optimization in optimized build. commit_hash:2d0969361910a10a870bae226d838d494e656edb
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.babenko2022-02-101-76/+76
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.babenko2022-02-101-76/+76
|
* intermediate changesDevtools Arcadia2022-02-071-0/+76
ref:cde9a383711a11544ce7e107a78147fb96cc4029