
2 Jan
2008
2 Jan
'08
10:02 p.m.
Hi,
Does boost have some sort of null_ptr class that allows you to do portable
NULL comparisons? For example, the following isn't portable:
char* foo = 0;
if( foo != 0 )
{
}
But this is portable:
char* foo = reinterpret_cast