C++ (Qt)struct CDrawInst {// data CMaterial * m_material; int m_count;...};
C++ (Qt)struct CDrawInst { CDrawInst( void ) : m_material(0), m_count(0) { } // data CMaterial * m_material; int m_count;...};
C++ (Qt)struct CDrawInst {// data CMaterial * m_material{}; int m_count{};...};
C++ (Qt)struct CDrawInst {// data CMaterial * m_material = nullptr; int m_count = 0;...};
C++ (Qt)struct CDrawInst {// data CMaterial * m_material; int m_count;...}; void test(){ CDrawInst inst{}; assert(inst.m_material == nullptr); assert(inst.m_count == 0);}
C++ (Qt)struct CDrawInst { CDrawInst() {};// data CMaterial * m_material; int m_count;...};