Skip to content

std::as_const<To, From>

as_const<To, From>

Converts a type to a const type

Signature

fn <To, From> as_const(value: From) -> To;

Specifiers

  • constexpr