I look at a third-party code base and see this assert macro definition:
#define assert( x ) \ if( !( x ) ) { \ ThrowException( __FILE__, __LINE__ ); \ } else \ ((void)1)
What is the meaning of (void)1 ? How is it better than idiomatic (void)0 ?
source share