Boost logo

Boost Users :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2007-02-11 18:03:20


On Sunday 11 February 2007 05:02 pm, Timmo Stange wrote:

> You can use last_value<optional<T> > on compilers that don't have
> partial template specialization as well, the implementation is just
> not as straightforward, but that won't be visible to the user.

Allright, I think I've got it now. I've added a last_value.hpp to the
boost sandbox which doesn't throw on void or optional<T> return values,
and throws otherwise.

-- 
Frank



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net