0

In codeproject, i found a interesting program which implements a meaning of unit ,like

unsigned long long operator"" s(unsigned long long n)
{
    return n + 1;
}
int main()
{
    int x = 16s;
}

x will be 17, so interesting. can someone tell me what magic this is?

hellow
  • 12,430
  • 7
  • 56
  • 79
mac.ma
  • 703
  • 2
  • 8
  • 22

0 Answers0