Why std::any implementation uses typeid?

后端 未结 0 574
我寻月下人不归
我寻月下人不归 2020-12-19 15:08

It seems that std::any works just fine in gcc and clang even when compiling with -fno-rtti.

While looking at the libc++ source I see that they just use

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