名前空間
変種

std::remove_pointer

提供: cppreference.com
2012年10月26日 (金) 14:00時点におけるTranslationBot (トーク | 投稿記録)による版 (Translated from the English version using Google Translate)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)

<metanoindex/>

 
 
ユーティリティライブラリ
汎用ユーティリティ
日付と時間
関数オブジェクト
書式化ライブラリ (C++20)
(C++11)
関係演算子 (C++20で非推奨)
整数比較関数
(C++20)
スワップと型操作
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
一般的な語彙の型
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

初等文字列変換
(C++17)
(C++17)
 
型サポート
型の性質
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(C++20未満)
(C++11)(C++20で非推奨)
(C++11)
型特性定数
メタ関数
(C++17)
定数評価文脈
サポートされている操作
関係と性質の問い合わせ
型変更
(C++11)(C++11)(C++11)
型変換
(C++11)
(C++11)
(C++17)
(C++11)(C++20未満)(C++17)
 
Defined in header <type_traits>
template< class T > struct remove_pointer;
(C++11以上)

Provides the member typedef type which is the type pointed to by T, or, if T is not a pointer, then type is the same as T.

メンバータイプ

 
名前
Original:
Name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
 
type the type pointed to by T or T if it's not a pointer

可能な実装

template< class T > struct remove_pointer                    {typedef T type;};
template< class T > struct remove_pointer<T*>                {typedef T type;};
template< class T > struct remove_pointer<T* const>          {typedef T type;};
template< class T > struct remove_pointer<T* volatile>       {typedef T type;};
template< class T > struct remove_pointer<T* const volatile> {typedef T type;};

も参照してください

テンプレート:cpp/types/dcl list is pointerテンプレート:cpp/types/dcl list add pointer