Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 226 Bytes

14.47.md

File metadata and controls

4 lines (4 loc) · 226 Bytes
struct Integral {
  operator const int();  // covert `Integral` to `const int`, and may change the object itself
  operator int() const;  // covert `Integral` to `int`, and will not change the object itself
};