[Solved] Accessing struct through method

[ad_1]

data has a class type.
toBit is a member function of that class, and returns an object of a type that has a member, b3.

It would be something along these lines:

struct Something
{
    some_type b3;
};

struct Data
{
    Something toBit();
};

Data data;
some_type x = data.toBit().b3;

It’s impossible to guess anything more specific than that.

1

[ad_2]

solved Accessing struct through method