mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
14
src/Standard/Standard_Static.hxx
Executable file
14
src/Standard/Standard_Static.hxx
Executable file
@@ -0,0 +1,14 @@
|
||||
#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; \
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user