Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
struct myS { std::vector<std::vector<double> > *A; }
インデックスを使用して A の要素にアクセスしたい。これ(および他のバージョン)を試しましたが、うまくいきませんでした。
struct myS test; std::vector<double> B = *(test.A)[0];