A simple question but I am not sure what it is done in C++.
When I have a class that have _bstr_t member. I would like to know if does member are freed when the object is deleted:
class A {
_bstr_t foo("Testing");
}
The A
class does not have a dtor. So is the default dtor calling the dtor of yeach member of the class A
?
Especially for _bstr_t because it allocate a string via SysAllocString.
Thanks