#include <utility>
Go to the source code of this file.
|
| template<typename T > |
| void | sf::delete_null (T &p) |
| | Deletes object and clears pointer.
|
| |
| template<typename T > |
| void | sf::delete_anull (T &p) |
| | Deletes an array previous allocated by 'new[]' when the pointer is non-null and also nulls the passed pointer.
|
| |
| template<typename T > |
| void | sf::free_null (T &p) |
| | Template function freeing a pointer previous allocated by 'malloc' when the pointer is non-null and also nulls the passed pointer.
|
| |
| template<typename T > |
| void | sf::swap_it (T &t1, T &t2) |
| | Swaps the passed two arguments of any type.
|
| |
| template<typename T > |
| T & | sf::null_ref () |
| |
| template<typename T > |
| bool | sf::not_ref_null (T &r) |
| |