実装ファイルに次のものがあります...
void ClientList::interestCompare(vector<string> intr)
{
    for(int index = 0; index < intr.size(); index++)
    {
        this->interests[index];  
    }
}
そしてこれは仕様ファイルにあります。
class ClientList
{
private:
// A structure for the list
struct ListNode
    {
        char gender;
        string name;
        string phone;
        int numInterests; // The number of interests for the client
        vector<string> interests; // list of interests
        string match;
        struct ListNode *next;  // To point to the next node
    }; 
//more stuff
...}
「this」ポインタを使用して、構造体の「interests」ベクトルにアクセスすることは可能ですか?
もしそうなら、どのように。
私は今それを持っているので、リストにアクセスするために、ListNodeポインターをheadに初期化します。「this」ポインタがクラスのメンバーにのみアクセスできるのか、それともクラスに埋め込まれているより深いADT変数にアクセスできるのか疑問に思っています。
その質問は意味がありますか?