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
  • 10,920
  • 6
  • 47
  • 69
mac.ma
  • 673
  • 2
  • 8
  • 22

0 Answers0