
"David Abrahams" <dave@boost-consulting.com> wrote in message news:u7jl1c3vf.fsf@boost-consulting.com...
"Gennadiy Rozental" <gennadiy.rozental@thomson.com> writes:
I wil need to look in more detailes. I could be not trivial. Also I couldn't afford all the dependencies you introduced.
?? I was very careful to avoid dependencies.
#include <boost/optional.hpp> #include <boost/function.hpp>
Oh, sorry, I'm not using boost/function; the #include is detritus. Optional is used, but it's really neccessary in order to give this thing the right interface. I suppose it might be possible to duplicate the functionality, but that would be a real shame.
In fact optional could be acceptable. AFAIK it's portable enough and I am considering using it myself. I still did not get a change to look in more details though. Gennadiy