Home Libraries Author Links

stm::smartptr::injective< T, Compare, Allocator, Policy > Class Template Reference
[SmartptrAids: Smart Pointer Aids]

List of all members.


Detailed Description

template<class T, class Compare = std::less<T>, class Allocator = std::allocator<T>, class Policy = stm::smartptr::policy<>>
class stm::smartptr::injective< T, Compare, Allocator, Policy >

The traits class template injective combines the class template injective_ptr and its associated class template injective_set having either the surjective or the not surjective policy property.

Definition at line 696 of file smartptraids.hpp.


Public Types

typedef injective_ptr< T,
Compare, Allocator, Policy > 
ptr
 injective_ptr type conforming to Policy.
typedef injective_set< T,
Compare, Allocator,
MakeMultirange< Policy > > 
set
 injective_set type conforming to Policy.
typedef Policy::surjective surjective
 Surjective policy type conforming to that of Policy.

Member Typedef Documentation

template<class T, class Compare = std::less<T>, class Allocator = std::allocator<T>, class Policy = stm::smartptr::policy<>>
typedef injective_ptr<T, Compare, Allocator, Policy> stm::smartptr::injective< T, Compare, Allocator, Policy >::ptr

injective_ptr type conforming to Policy.

Definition at line 700 of file smartptraids.hpp.

template<class T, class Compare = std::less<T>, class Allocator = std::allocator<T>, class Policy = stm::smartptr::policy<>>
typedef injective_set<T, Compare, Allocator, MakeMultirange<Policy> > stm::smartptr::injective< T, Compare, Allocator, Policy >::set

injective_set type conforming to Policy.

Definition at line 703 of file smartptraids.hpp.

template<class T, class Compare = std::less<T>, class Allocator = std::allocator<T>, class Policy = stm::smartptr::policy<>>
typedef Policy::surjective stm::smartptr::injective< T, Compare, Allocator, Policy >::surjective

Surjective policy type conforming to that of Policy.

Definition at line 706 of file smartptraids.hpp.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).