Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
Teuchos::Details::Allocator< T >::rebind< U > Struct Template Reference

Mapping to an Allocator for a different type U. More...

#include <Teuchos_Details_Allocator.hpp>

Public Types

typedef Allocator< U > other
 

Detailed Description

template<class T>
template<class U>
struct Teuchos::Details::Allocator< T >::rebind< U >

Mapping to an Allocator for a different type U.

Most users do not need this.

Note
To Teuchos developers: This is only optional if the Allocator has the form Allocator<T, Args>, where Args is zero or more additional template parameters. I don't want to make Allocator require C++11, so it does not have this form. Thus, the rebind struct is required.

Definition at line 282 of file Teuchos_Details_Allocator.hpp.

Member Typedef Documentation

template<class T>
template<class U >
typedef Allocator<U> Teuchos::Details::Allocator< T >::rebind< U >::other

Definition at line 282 of file Teuchos_Details_Allocator.hpp.


The documentation for this struct was generated from the following file: