iutest  1.17.1.0
クラス | 公開メンバ関数 | 全メンバ一覧
iutest::any クラス

any [詳解]

#include <iutest_any.hpp>

公開メンバ関数

template<typename T >
 any (const T &rhs)
 
 any (const any &rhs)
 
 any (const char rhs[])
 
anyswap (any &rhs)
 swap
 
bool empty () const
 空かどうか [詳解]
 
void clear ()
 要素のクリア
 
type_id type () const
 型IDの取得 [詳解]
 
template<typename T >
bool type_equal () const
 型の比較 [詳解]
 
::std::string to_string () const
 所持している値の文字列化
 
bool has_value () const
 要素があるかどうか
 
void reset ()
 要素のクリア
 
template<typename T >
anyoperator= (const T &rhs)
 
anyoperator= (const any &rhs)
 

詳解

any

関数詳解

◆ empty()

bool iutest::any::empty ( ) const
inline

空かどうか

戻り値
true= 空
被呼び出し関係図:

◆ type()

type_id iutest::any::type ( ) const
inline

型IDの取得

戻り値
型ID
被呼び出し関係図:

◆ type_equal()

template<typename T >
bool iutest::any::type_equal ( ) const
inline

型の比較

戻り値
true= 同一
呼び出し関係図:

このクラス詳解は次のファイルから抽出されました: