- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
#include <iostream>
using namespace std;
struct One
{
bool operator==(const One &) { cout << "hello from One!" << endl; return true; }
bool operator==(unsigned int) { cout << "hello from One!" << endl; return true; }
};
One operator "" x( unsigned long long int ) { return One{}; }
One operator "" xMAGICK( unsigned long long int ) { return One{}; }
int main()
{
cout << (0xMAGICK == 0x);
return 0;
}
Antervis 06.05.2016 06:55 # +4
Привет стандарт, как дела?
gost 07.05.2016 09:35 # +2
kurwa 07.05.2016 11:55 # +2
gost 07.05.2016 13:56 # 0
Antervis 10.05.2016 09:32 # +2