Skip to content
Snippets Groups Projects
  • Adam Wardynski's avatar
    Const contract on function return Value. · 10144629
    Adam Wardynski authored
    Generally we want to avoid accidental change of value of a constant or of a variable. Originally I'd copy value on access, but this changed it so a const Value is returned instead and copy is done only when it's needed.
    10144629
constant.h 1.22 KiB