Sierra Toolkit Version of the Day
eastl::use_self< T > Struct Template Reference

#include <utility_eastl.h>

List of all members.

Public Types

typedef T result_type

Public Member Functions

const T & operator() (const T &x) const

Detailed Description

template<typename T>
struct eastl::use_self< T >

use_self

operator()(x) simply returns x. Used in sets, as opposed to maps. This is a template policy implementation; it is an alternative to the use_first template implementation.

The existance of use_self may seem odd, given that it does nothing, but these kinds of things are useful, virtually required, for optimal generic programming.

Definition at line 127 of file utility_eastl.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends