Changeset 541
- Timestamp:
- 08/17/09 09:28:36 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/local/memory_management.dox
r539 r541 119 119 \endcode 120 120 121 Functions g nerally shouldn't return raw pointers allocated by operator122 new - such pointers should be wrapped in an instance of shared_ptr, so 123 that the pointer's unlimited life expectancy is encoded in the 124 function signature:121 Functions generally shouldn't return raw pointers allocated by 122 operator new - such pointers should be wrapped in an instance of 123 shared_ptr, so that the pointer's unlimited life expectancy is encoded 124 in the function signature: 125 125 126 126 \code