65.9K
CodeProject is changing. Read more.
Home

boost 2: shared_ptr wraps resource handles

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.96/5 (36 votes)

Oct 4, 2004

15 min read

viewsIcon

267666

downloadIcon

1330

Using boost, we can write "almost perfect" wrappers for GDI and other resource handles, in a few lines of code.