#include <compare_methods.h>
gslib::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 の 64 行で定義されています。
|
任意コンテナとの比較
compare_methods.h の 87 行で定義されています。 参照元 gslib::static_container::compare_methods< list< Value, MaxSize > >::operator==().
00087 { 00088 if ( static_cast< const SubClass* >( this )->size() == cont.size() ) { 00089 return std::equal( 00090 static_cast< const SubClass* >( this )->begin(), 00091 static_cast< const SubClass* >( this )->end(), 00092 cont.begin() ); 00093 } else { 00094 return false; 00095 } 00096 } |
|
compare_methods.h の 79 行で定義されています。
00079 { 00080 return std::lexicographical_compare( 00081 static_cast< const SubClass* >( this )->begin(), static_cast< const SubClass* >( this )->end(), 00082 other.begin(), other.end() ); 00083 } |
|
compare_methods.h の 75 行で定義されています。
00075 { 00076 return equal( other ); 00077 } |