OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
std::vector< comb< 0 > > Class Reference

Stub vector specialization. More...

Detailed Description

Stub vector specialization.

On compiler previous 4.9.2 the code compile, and provide trivial functionality, (complex operations produce crash at runtime)

On 4.9.2 does not even compile So we create a particular case that pass compilation give basic functionality, and crash in case of complex usage

Definition at line 538 of file comb.hpp.

#include <comb.hpp>

Public Member Functions

size_t size ()
 Return 0.
 
comb< 0 > & operator[] (size_t i)
 Do nothing.
 
void push_back (comb< 0 > &obj)
 Do nothing.
 

Private Attributes

comb< 0 > * ptr
 Pointer to nothing.
 

Member Function Documentation

◆ operator[]()

comb< 0 > & std::vector< comb< 0 > >::operator[] ( size_t  i)
inline

Do nothing.

Parameters
iignored
Returns
nothing

Definition at line 562 of file comb.hpp.

◆ push_back()

void std::vector< comb< 0 > >::push_back ( comb< 0 > &  obj)
inline

Do nothing.

Parameters
objignored

Definition at line 572 of file comb.hpp.

◆ size()

size_t std::vector< comb< 0 > >::size ( )
inline

Return 0.

Returns
0

Definition at line 550 of file comb.hpp.

Field Documentation

◆ ptr

comb<0>* std::vector< comb< 0 > >::ptr
private

Pointer to nothing.

Definition at line 541 of file comb.hpp.


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