I have a member variable which is of type vector of structure and which is defined as std::optional, so how do I access members inside the structure.
Example:
std::optional<std::vector<demoStruct>> mem_variable;
struct demoStruct
{
int a;
float b;
};
So how do i access 'a' and 'b' using mem_variable;