- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
/**
* Set each member to false.
*/
void pauseAll()
{
foreach( member; __traits(allMembers, ObjectStateFlags) )
static if( __traits(compiles, __traits(getMember, ObjectStateFlags, member) = false) )
__traits(getMember, ObjectStateFlags, member) = false;
}
LispGovno 23.05.2014 10:54 # 0