blob: 9b001a4418cd9bb7152e34b86897d45cdb437cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
namespace Constants
{
double PI = 3.14;
}
int factor = 41;
double result = Constants::PI * factor;
return Constants::PI * factor;
void func(int value) {
return SomeClass(value, Constants::PI * value);
}
|