|
Boost Users : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-01-07 07:25:01
Tobias Schwinger wrote:
> Joel de Guzman wrote:
>> Anyway, you have good points. Yes, an explicitly specified return
>> type would be ok too. In the standpoint of optimization, yes, a
>> variant return is suboptimal at both compile time and at runtime.
>
> Exactly. The mechanism you propose could still be useful and provided by
> the library as a utilty metafunction (which is what I was trying to say
> with "should be an extra metafunction" :-)).
Agreed 100%
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
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