|
throwing_ptr
Smart pointers that throw on dereference if null
|
Go to the source code of this file.
Functions | |
| TEST_CASE ("shared_ptr to array from nullptr: get returns nullptr", "[shared_ptr][array][access]") | |
| TEST_CASE ("shared_ptr to array: get returns first element", "[shared_ptr][array][access]") | |
| TEST_CASE ("dereferencing null shared_ptr to array throws", "[shared_ptr][array][access]") | |
| TEST_CASE ("shared_ptr to array: [0] returns first element", "[shared_ptr][array][access]") | |
| TEST_CASE | ( | "shared_ptr to array from nullptr: get returns nullptr" | , |
| "" | [shared_ptr][array][access] | ||
| ) |
Definition at line 15 of file shared_ptr_to_array.cpp.
| TEST_CASE | ( | "shared_ptr to array: get returns first element" | , |
| "" | [shared_ptr][array][access] | ||
| ) |
Definition at line 27 of file shared_ptr_to_array.cpp.
| TEST_CASE | ( | "dereferencing null shared_ptr to array throws" | , |
| "" | [shared_ptr][array][access] | ||
| ) |
Definition at line 34 of file shared_ptr_to_array.cpp.
| TEST_CASE | ( | "shared_ptr to array: returns first element" | [0], |
| "" | [shared_ptr][array][access] | ||
| ) |
Definition at line 41 of file shared_ptr_to_array.cpp.
1.8.13