Comment by mgaunard 1 month ago In C++, you define the semantics yourself. 2 comments mgaunard Reply wtetzner 1 month ago No, const semantics are defined by the language definition. mgaunard 1 month ago It's defined by whatever you put in your const overloads.const is primarily a type annotation that affects overload resolution.You must be confused because Rust has no overloading to begin with.
wtetzner 1 month ago No, const semantics are defined by the language definition. mgaunard 1 month ago It's defined by whatever you put in your const overloads.const is primarily a type annotation that affects overload resolution.You must be confused because Rust has no overloading to begin with.
mgaunard 1 month ago It's defined by whatever you put in your const overloads.const is primarily a type annotation that affects overload resolution.You must be confused because Rust has no overloading to begin with.
No, const semantics are defined by the language definition.
It's defined by whatever you put in your const overloads.
const is primarily a type annotation that affects overload resolution.
You must be confused because Rust has no overloading to begin with.