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.
次の古いスタイルのキャストに相当する名前付きキャストは何ですか?
const string *ps; void *pv; pv = (void*)ps; // <--- this
ですかpv = static_cast<void*>(const_cast<string*>(ps));?
pv = static_cast<void*>(const_cast<string*>(ps));