Is there a good way to resolve the ambiguity between nullptr_t and pointer overloads?

前端 未结 0 785
傲寒
傲寒 2020-12-23 12:45

When using the literal 0 in C++, the compiler can\'t disambiguate between pointer and nullptr_t overloads of a function.

Code that illustrat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题