forked from boostorg/system
Add result<void, E> specialization
This commit is contained in:
1 parent
fd21395802
commit
50f84f16dc
2 files changed
+157
No files matched your search
@@ -30,5 +30,12 @@ int main()
|
||||
BOOST_TEST( !r.has_error() );
|
||||
}
|
||||
|
||||
{
|
||||
result<void> r;
|
||||
|
||||
BOOST_TEST( r.has_value() );
|
||||
BOOST_TEST( !r.has_error() );
|
||||
}
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
Reference in new issue
Block a user