#include <compare_methods.h>
static_container::compare_methods< SubClass >に対する継承グラフ
Public メソッド | |
bool | operator== (const SubClass &other) const |
bool | operator< (const SubClass &other) const |
template<typename OtherContainer> bool | equal (const OtherContainer &cont) const |
任意コンテナとの比較 |
compare_methods.h の 11 行で定義されています。
|
任意コンテナとの比較
compare_methods.h の 34 行で定義されています。 参照元 static_container::compare_methods< list< Value, MaxSize > >::operator==().
00034 { 00035 if ( static_cast< const SubClass* >( this )->size() == cont.size() ) { 00036 return std::equal( 00037 static_cast< const SubClass* >( this )->begin(), 00038 static_cast< const SubClass* >( this )->end(), 00039 cont.begin() ); 00040 } else { 00041 return false; 00042 } 00043 } |
|
compare_methods.h の 26 行で定義されています。
00026 { 00027 return std::lexicographical_compare( 00028 static_cast< const SubClass* >( this )->begin(), static_cast< const SubClass* >( this )->end(), 00029 other.begin(), other.end() ); 00030 } |
|
compare_methods.h の 22 行で定義されています。
00022 { 00023 return equal( other ); 00024 } |