- 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;
}
Привет стандарт, как дела?