GetFEM  5.4.2
bgeot::Comma_initializer< Container > Class Template Reference

Template class which forwards insertions to the container class. More...

#include <bgeot_comma_init.h>

Public Member Functions

Comma_initializeroperator= (const value_type v)
 Should only be used with first value. More...
 
Comma_initializeroperator+= (value_type v)
 Should only be used with first value. More...
 

Detailed Description

template<typename Container>
class bgeot::Comma_initializer< Container >

Template class which forwards insertions to the container class.

Definition at line 52 of file bgeot_comma_init.h.

Member Function Documentation

◆ operator=()

template<typename Container >
Comma_initializer& bgeot::Comma_initializer< Container >::operator= ( const value_type  v)
inline

Should only be used with first value.

The operator gives a nice syntax for initializing the container.

Definition at line 67 of file bgeot_comma_init.h.

◆ operator+=()

template<typename Container >
Comma_initializer& bgeot::Comma_initializer< Container >::operator+= ( value_type  v)
inline

Should only be used with first value.

The operator gives a nice syntax for appending to the container.

Definition at line 76 of file bgeot_comma_init.h.


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