dumpObseleted

Debug print Names all being compile-time strings that are mixed in.

Similar to Rust's dbg macro introduced in version 1.32.

@safe pure
mixin template dumpObseleted (
Names...
) {
@safe pure
auto dumpObseleted;
}

Examples

const int x = 42;
int[2] y = [42, 43];
mixin dumpObseleted!("x", "y");

See Also

Meta