Boost logo

Boost :

Subject: Re: [boost] std::map::find() wrapper
From: Denis Shevchenko (for.dshevchenko_at_[hidden])
Date: 2011-05-04 11:44:49


> I'm not sure what your code looks like, but IMO bare pointers are
> perfectly fine in certain situations.
> Like this one, where no ownership issues are present.
IMHO, if program *REQUIRES* bare pointers - this program, probably,
should be refactored.

For example, I don't use bare pointers in my code. Never (except
operator new() result). I write system-oriented programs and libraries
(network, protocols, database, etc.), but I never need bare pointers.

- Denis


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk