Boost logo

Boost :

From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2007-10-09 07:59:58


On 10/9/07, Marco Costalba <mcostalba_at_[hidden]> wrote:
> On 10/9/07, Dean Michael Berris <mikhailberis_at_[hidden]> wrote:
> >
> > Okay. :D
> >
> > So where is it located currently and how to we do this? Would a google
> > document in the meantime help? Perhaps if either Marco's would upload
> > their implementations somewhere so that others can start writing
> > documentation for it?
> >
> I have already uploaded latest version in
>
> http://digilander.libero.it/mcostalba/boost_overload/overload.hpp
> http://digilander.libero.it/mcostalba/boost_overload/test.hpp
>

Sweet, let me take a look and start writing documentation. I'll share
a Google document with those interested so that we can get something
started quickly.

>
> BTW regarding API to overload we could mimic STL, in particular
> std::map::insert() says:
>
> "The insert member function returns a pair whose bool component
> returns true if an insertion was made and false if the map already
> contained an element whose key had an equivalent value in the
> ordering"
>

Interesting. Though I'm not sure about insert -- but if we make it
work this way, we're going to have to consider the case where a
function gets mapped to multiple signatures.

>
> Or this sounds too overkilling ?

This I think is too much. But I might be wrong. :D

-- 
Dean Michael C. Berris
Software Engineer, Friendster, Inc.
[http://cplusplus-soup.blogspot.com/]
[mikhailberis_at_[hidden]]
[+63 928 7291459]
[+1 408 4049523]

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