Skip to main content

static_assert

Macro static_assert 

Source
macro_rules! static_assert {
    ($x:expr $(,)?) => { ... };
}
Expand description

Compile-time assertion. Fails to compile if the condition is false.