Sierra Toolkit Version of the Day
eastl::use_first< Pair > Struct Template Reference

#include <utility_eastl.h>

List of all members.

Public Types

typedef Pair::first_type result_type

Public Member Functions

const result_type & operator() (const Pair &x) const

Detailed Description

template<typename Pair>
struct eastl::use_first< Pair >


operator()(x) simply returns x.first. Used in maps, as opposed to sets. This is a template policy implementation; it is an alternative to the use_self template implementation. This is the same thing as the SGI SGL select1st utility.

Definition at line 143 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 Defines