GetFEM  5.4.3
bgeot_comma_init.h File Reference

convenient initialization of vectors via overload of "operator,". More...

Go to the source code of this file.

Classes

class  bgeot::Comma_initializer< Container >
 Template class which forwards insertions to the container class. More...
 

Namespaces

 bgeot
 Basic Geometric Tools.
 

Detailed Description

convenient initialization of vectors via overload of "operator,".

Author
Julien Pommier Julie.nosp@m.n.Po.nosp@m.mmier.nosp@m.@ins.nosp@m.a-tou.nosp@m.lous.nosp@m.e.fr
Date
March 27, 2003.
std::vector<double> foo; bgeot::sc(foo) += 1,3,4;

highly inspired by the boost init.hpp (C) Thorsten Ottosen (http://www.cs.auc.dk/~nesotto/init/)

Definition in file bgeot_comma_init.h.