gcc and clang implicitly instantiate template arguments during operator overload resolution

前端 未结 2 1663
梦毁少年i
梦毁少年i 2020-12-14 01:04

Consider this code:

struct A; // incomplete type

template
struct D { T d; };

template 
struct B { int * p = nullptr; };

int          


        
2条回答
提交回复
热议问题