@syntax_hacker0/

ElectricTrainedSystemsoftware

C++

No description

fork
loading
Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <bits/stdc++.h>
using namespace std;

int main() {
	namespace Test {
    int call(int i);
    class SomeClass {
        ...
    };
    int call_too(const SomeClass & data);
}
call(5); //Fails. Not a qualified function name.
Test::SomeClass data;
call_too(data); //Succeeds
}