OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
openfpm::grow_policy_identity Class Reference

Grow policy define how the vector should grow every time we exceed the size. More...

Detailed Description

Grow policy define how the vector should grow every time we exceed the size.

In this case it return the requested size

Definition at line 22 of file map_vector_grow_p.hpp.

#include <map_vector_grow_p.hpp>

Static Public Member Functions

static size_t grow (size_t original, size_t requested)
 It say how much the vector must grow.
 

Member Function Documentation

◆ grow()

static size_t openfpm::grow_policy_identity::grow ( size_t  original,
size_t  requested 
)
inlinestatic

It say how much the vector must grow.

Parameters
originalsize
requestedsize
Returns
how much to grow

Definition at line 34 of file map_vector_grow_p.hpp.


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