1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/Standard/Standard_Static.hxx
2012-03-05 19:23:40 +04:00

15 lines
567 B
C++
Executable File

#define Standard_STATIC(type,name) type& name() \
{ \
static type _##name; \
return _##name; \
}
#define Standard_STATIC_INIT(type,name,initfunc) type& name() \
{ \
static type _##name = initfunc; \
return _##name; \
}