forked from boostorg/smart_ptr
Update tests for make_shared and allocate_shared array forms, for normal case, initializer lists, variadic template arguments, for arrays and fixed size arrays.
[SVN r81299]
This commit is contained in:
1 parent
fa513340d7
commit
25e11b20d3
12 files changed
+375
-41
No files matched your search
@@ -34,7 +34,7 @@ int main() {
|
||||
try {
|
||||
a1[0].shared_from_this();
|
||||
BOOST_ERROR("shared_from_this did not throw");
|
||||
} catch (const boost::bad_weak_ptr&) {
|
||||
} catch (...) {
|
||||
BOOST_TEST(type::instances == 3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user