View Template Library


InternalFindElement

Category: Adaptors

Component type: type

Description

InternalFindElement is an empty class: it has no member functions, member variables, or nested types. It is used solely as a "tag": a concept within the C++ type system. Specifically, it is used as argument to a container template to determin whether the container has a member find function or not. Its existence allows us to specialize the container_traits<> class to generate the appropriate typedefs for the match_element functor.

Example

Template <class T> class ContainerTrait <set<T> >
{
typedef InternalFindElement FindType;
};

Definition

Defined in stl_traits.hpp.

Template parameters

None.

Model of

Assignable

Type requirements

None.

Public base classes

None.

Members

None.

New Members

None.

Notes

See also

NoInternalFindElement



VTL Home
Copyright © 1999 Konrad-Zuse-Zentrum für Informationstechnik Berlin & Gary Powell All Rights Reserved.