$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-02-03 07:21:47
For what it's worth, the use case I most often employ is:
template<typename out_t, typename in_t>
out_t func (in_t const& in) {
out = out_t (boost::size (in));
do something
return out;
}
I realize this isn't always efficient, but it's very convenient. Also, I
hope my preferred compiler (gcc-4.1) will perform RVO.