$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-03-21 23:52:24
AMDG
Robert Dailey wrote:
> Will the plain_return_type_2 specialization also work for classes
> derived from Stream? Or do I need to specialize that structure for
> each and every single class, regardless of inheritance? Thanks.
Yes, you would need to specialize for every derived class.
The other alternative is to use an explicit return type.
http://www.boost.org/doc/html/lambda/le_in_details.html#lambda.overriding_deduced_return_type
In Christ,
Steven Watanabe