forked from boostorg/config
Add BOOST_NULLPTR helper macro
This commit is contained in:
1 parent
26a8d38031
commit
663198ae92
3 files changed
+16
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user