b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::b2linalg::TemporaryBuffer< T > Class Template Reference

#include "b2linear_algebra_utils.H"

Static Public Member Functions

static T * get (size_t size)
 

Detailed Description

template<typename T>
class b2000::b2linalg::TemporaryBuffer< T >

A class that implement an initialised temporary buffer.

Member Function Documentation

◆ get()

template<typename T >
static T * b2000::b2linalg::TemporaryBuffer< T >::get ( size_t  size)
inlinestatic

Return a pointer to a storage sufficient to store size elements of type T. The buffer is initialised with the class template value "initialisation_value". It must be returned unchanged by the user.


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