$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: scleary_at_[hidden]
Date: 2002-10-04 10:57:50
I think the problem is in the definition of Select2ndRef; if you use:
template<class pair_type>
struct Select2ndRef
{
typedef pair_type argument_type;
typedef typename pair_type::second_type result_type;
result_type & operator()(pair_type & source) const
{
return source.second;
}
};
then your code will compile.
This has to do with an unusual meaning of "result_type" for projection
iterator adaptors.
-Steve