|
throwing_ptr
Smart pointers that throw on dereference if null
|
Go to the source code of this file.
Functions | |
| TEST_CASE ("unique_ptr to array: get on null returns nullptr", "[unique_ptr][array][nullptr][access]") | |
| TEST_CASE ("unique_ptr to array: get returns first element", "[unique_ptr][array][access]") | |
| TEST_CASE ("unique_ptr to array: dereferencing nullptr throws", "[unique_ptr][array][access][nullptr]") | |
| TEST_CASE ("unique_ptr to array: [0] returns first element", "[unique_ptr][array][access]") | |
| TEST_CASE ("unique_ptr to array: operator bool", "[unique_ptr][array][bool]") | |
| TEST_CASE | ( | "unique_ptr to array: get on null returns nullptr" | , |
| "" | [unique_ptr][array][nullptr][access] | ||
| ) |
Definition at line 15 of file unique_ptr_to_array_access.cpp.
| TEST_CASE | ( | "unique_ptr to array: get returns first element" | , |
| "" | [unique_ptr][array][access] | ||
| ) |
Definition at line 26 of file unique_ptr_to_array_access.cpp.
| TEST_CASE | ( | "unique_ptr to array: dereferencing nullptr throws" | , |
| "" | [unique_ptr][array][access][nullptr] | ||
| ) |
Definition at line 33 of file unique_ptr_to_array_access.cpp.
| TEST_CASE | ( | "unique_ptr to array: returns first element" | [0], |
| "" | [unique_ptr][array][access] | ||
| ) |
Definition at line 40 of file unique_ptr_to_array_access.cpp.
| TEST_CASE | ( | "unique_ptr to array: operator bool" | , |
| "" | [unique_ptr][array][bool] | ||
| ) |
Definition at line 47 of file unique_ptr_to_array_access.cpp.
1.8.13