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.
int、int*、int** などがあるとします。std::remove_pointer などを使用して int と直接入力できますか? ありがとう
ヤッパー。
template<typename T> struct remove_all { typedef T type; }; template<typename T> struct remove_all<T*> { typedef typename remove_all<T>::type type; };
std::remove_pointerここではそれ自体はあまり役に立ちません。
std::remove_pointer