Add BOOST_NULLPTR helper macro

This commit is contained in:
Peter Dimov
2022-05-23 02:29:23 +03:00
parent 26a8d38031
commit 663198ae92
3 changed files with 16 additions and 0 deletions
+6
View File
@@ -62,6 +62,10 @@ struct trait
enum { value = b };
};
void* test_nullptr()
{
return BOOST_NULLPTR;
}
int main()
{
@@ -82,6 +86,8 @@ int main()
{
result += 2;
}
test_nullptr();
}
catch(int)
{