$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Dave Gomboc (dave_at_[hidden])
Date: 2003-09-01 17:05:59
[Eric Friedman]
> Why not overload boost::get again for optional?
It might be a good idea for other reasons, but it doesn't solve the problem
I'm trying to solve.
[Brian McNamara]
> do_something( adapt( 3 ) );
> do_something( adapt( nilable<int>(3) ) );
> do_something( adapt( foo ) ); // foo has unknown type
But I'd like to write
do_something(3);
do_something(foo); // of type T
do_something(bar); // of type nilable<T>
Can I have my cake and eat it too? ;-)
Dave