OCC22579 Improving thread-safety of GeomFill
[occt.git] / src / Standard / Standard_Static.hxx
1 #define Standard_STATIC(type,name) type& name() \
2                                    { \
3                                      static type _##name; \
4                                      return _##name; \
5                                    }
6
7 #define Standard_STATIC_INIT(type,name,initfunc) type& name() \
8                                                  { \
9                                                    static type _##name = initfunc; \
10                                                    return _##name; \
11                                                  }
12
13
14