Can someone explain this syntax please
#define delete (m_setOwner(__FILE__,__LINE__,__FUNCTION__),false) ? m_setOwner("",0,"") : delete
I know what the ? : part is but Im confused by the ( , ) part. Can someone explain it please?
The comma operator? It evaluates the left side, then returns the result of evaluating the right side.
I thought that the ',' in this case was separating arguments.
EDIT: I missed the ', false' part. Forget what I said.
EDIT: I missed the ', false' part. Forget what I said.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement