C++ Boost

identity_property_map
このプロパティマップは、同一性を確認する関数を適用するが、ただ、インプットとして渡されたキーオブジェクトの複製を返す。

定義されている場所

boost/property_map.hpp

以下のコンセプトのモデル

Readable Property Map

関連型

説明
boost::property_traits<identity_property_map>::value_type この型は、voidであり、マップ関数は、テンプレート化されている。
boost::property_traits<identity_property_map>::key_type この型は、voidである。マップ関数はテンプレート化されている。
boost::property_traits<identity_property_map>::category この型は、boost::readable_op_bracket_tagである。

メンバ関数

メンバ説明
identity_property_map() デフォルトコンストラクタ
identity_property_map(const identity_property_map& x) コピーコンストラクタ
template <class T>
T operator[](T x) const
オブジェクト x の複製を返す。

非メンバ関数

メンバ説明
template <class T>
T get(const identity_property_map& pmap, T x)
オブジェクト x の複製を返す。


Copyright © 2000 Jeremy Siek, Univ.of Notre Dame (jsiek@lsc.nd.edu)
Lie-Quan Lee, Univ.of Notre Dame (llee1@lsc.nd.edu)
Andrew Lumsdaine, Univ.of Notre Dame (lums@lsc.nd.edu)