[ANN] boost 2: shared_ptr wraps resource handles
От: SchweinDeBurg Россия http://zarezky.spb.ru/
Дата: 05.10.04 05:00
Оценка:
boost 2: shared_ptr wraps resource handles

Windows Resources, like GDI Handles, are hard to manage correctly without creating leaks. This article shows how smart pointers can simplify this, and almost eliminate a major source of errors. It continues my previous article, Smart Pointers to boost your code, providing a practical example for using shared_ptr. (If you are not familiar with boost::shared_ptr, you should read it now!)


P.S. — 2moderator(s)
Сорьки за кросс-пост
Автор: SchweinDeBurg
Дата: 05.10.04
, но статья в равной мере относится как к плюсАм, так и к АПИ.
- Искренне ваш, Поросенок Пафнутий ~ ICQ#116846877
In Windows, there’s always a catch… © Paul DiLascia
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.