
On Wed, Jun 1, 2011 at 9:23 PM, Scott McMurray <me22.ca+boost@gmail.com> wrote:
On Wed, Jun 1, 2011 at 11:53, Olaf van der Spek <ml@vdspek.org> wrote:
On Wed, May 4, 2011 at 1:04 PM, Olaf van der Spek <ml@vdspek.org> wrote:
What's the best way to get this wrapper into Boost?
Somebody? Please?
Why do you need it in boost? Putting the 6 lines of code in a file when you need it is no great hardship.
Because you'd like to avoid code duplication. Because not everyone thinks about writing such a wrapper. std::map::find is used quite a lot and in most if not all cases this wrapper would provide a simpler alternative.
Since it's not fundamental functionality, I think the cost of documenting it and making it visible oughtweighs its utility.
Are you the one that's paying that cost? Olaf