Home Libraries Author Links

stm::smartptr::bijective< 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<stm::smartptr::Surjective>>
class stm::smartptr::bijective< T, Compare, Allocator, Policy >

The traits class template bijective combines the class template injective_ptr and its associated class template injective_set having the surjective policy property.

Definition at line 721 of file smartptraids.hpp.


Public Types

typedef injective_ptr< T,
Compare, Allocator,
MakeSurjective< Policy > > 
ptr
 injective_ptr type conforming to Policy but with the surjective policy enabled independent of Policy.
typedef injective_set< T,
Compare, Allocator,
MakeMultirange< MakeSurjective
< Policy > > > 
set
 injective_set type conforming to Policy but with the surjective policy enabled independent of Policy.
typedef boost::mpl::true_ surjective
 Surjective policy type being boost::mpl::true_ independent of Policy.

Member Typedef Documentation

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

injective_ptr type conforming to Policy but with the surjective policy enabled independent of Policy.

Definition at line 726 of file smartptraids.hpp.

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

injective_set type conforming to Policy but with the surjective policy enabled independent of Policy.

Definition at line 730 of file smartptraids.hpp.

template<class T, class Compare = std::less<T>, class Allocator = std::allocator<T>, class Policy = stm::smartptr::policy<stm::smartptr::Surjective>>
typedef boost::mpl::true_ stm::smartptr::bijective< T, Compare, Allocator, Policy >::surjective

Surjective policy type being boost::mpl::true_ independent of Policy.

Definition at line 733 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).