ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ttg_parsec::detail::empty_allocator< T > Struct Template Reference

#include <buffer.h>

Public Types

using value_type = std::decay_t< T >
 

Public Member Functions

value_typeallocate (std::size_t size)
 
void deallocate (value_type *ptr, std::size_t size)
 

Detailed Description

template<typename T>
struct ttg_parsec::detail::empty_allocator< T >

Definition at line 33 of file buffer.h.

Member Typedef Documentation

◆ value_type

template<typename T >
using ttg_parsec::detail::empty_allocator< T >::value_type = std::decay_t<T>

Definition at line 35 of file buffer.h.

Member Function Documentation

◆ allocate()

template<typename T >
value_type * ttg_parsec::detail::empty_allocator< T >::allocate ( std::size_t  size)
inline

Definition at line 37 of file buffer.h.

◆ deallocate()

template<typename T >
void ttg_parsec::detail::empty_allocator< T >::deallocate ( value_type ptr,
std::size_t  size 
)
inline

Definition at line 41 of file buffer.h.


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