std::variant behaves differently in MSVC and gcc

前端 未结 0 1452
借酒劲吻你
借酒劲吻你 2021-01-01 21:38

MSVC 19.28 rejects the following code but gcc 10.2 accepts it and outputs true false

#include 
#include 

int main         


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