Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Public Types | Public Member Functions
Eigen::aligned_allocator< T > Class Template Reference

STL compatible allocator to use with with 16 byte aligned types. More...

#include <Memory.h>

Inheritance diagram for Eigen::aligned_allocator< T >:

Data Structures

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedefvalue_type
 

Public Member Functions

 aligned_allocator (const aligned_allocator &other)
 
template<class U >
 aligned_allocator (const aligned_allocator< U > &other)
 
pointer allocate (size_type num, const void *=0)
 
void deallocate (pointer p, size_type)
 

Detailed Description

template<class T>
class Eigen::aligned_allocator< T >

STL compatible allocator to use with with 16 byte aligned types.

Example:

// Matrix4f requires 16 bytes alignment:
std::map< int, Matrix4f, std::less<int>,
// Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator:
std::map< int, Vector3f > my_map_vec3;
Pseudo expression representing a solving operation.
Definition Solve.h:63
See also
TopicStlContainers.

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