What does taking an address of a non-static struct field without a struct instance yield?

前端 未结 0 1287
不知归路
不知归路 2020-11-27 09:32

Minimal code reproducible code:

struct Struct
{
    int value;
    int* a;
};

template 
void Print(T value)
{
    int size = sizeof(value);         


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