#include <Container.hpp>
Public Types | |
enum | { DefaultConstructibleAndCopyable } |
The policy must provide this enum, set to true or false. More... | |
typedef T & | Result |
Static Public Member Functions | |
static bool | Compare (const T &a, const T &b) |
Compare an item with a given item. | |
static Result | DefaultValue () |
Returns the default value when not found. | |
static Result | From (T *x) |
Convert the type to the required type for comparing. |
typedef T& Container::PrivateGenericImplementation::SearchPolicyInterface< T >::Result |
anonymous enum |
static bool Container::PrivateGenericImplementation::SearchPolicyInterface< T >::Compare | ( | const T & | a, | |
const T & | b | |||
) | [static] |
Compare an item with a given item.
static Result Container::PrivateGenericImplementation::SearchPolicyInterface< T >::DefaultValue | ( | ) | [static] |
Returns the default value when not found.
static Result Container::PrivateGenericImplementation::SearchPolicyInterface< T >::From | ( | T * | x | ) | [static] |
Convert the type to the required type for comparing.