Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#FFcccc
langcpp
const int n = 42;
 
int g(const int &lhs, const int &rhs);
 
inline int f(int k) {
  return g(k, n);
}

...

Code Block
bgColor#ccccff
langcpp
const int n = 42;
 
int g(int lhs, int rhs);
 
inline int f(int k) {
  return g(k, n);
}

...

Code Block
bgColor#ccccff
langcpp
enum Constants {
  N = 42
};

int g(const int &lhs, const int &rhs);
 
inline int f(int k) {
  return g(k, N);
}

...