View Template Library


NoKeyDataPair

Category: Adaptors

Component type: type

Description

NoKeyDataPair 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 value type of pair 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 K,class D, class A> class ContainerTrait <set<K,D,A> >
{
typedef NoKeyDataPair ValuePairType;
};

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

KeyDataPair



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