$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-06-10 06:14:33
Vladimir Prus wrote:
> Hello,
> when I try to compiler the following code snippet on vc6 I get a lot
> of errors:
>
> #include <locale>
> #include <boost/bind.hpp>
>
> void aux(const std::codecvt<wchar_t, char, mbstate_t>& cvt)
> {
> boost::bind(boost::mem_fn(&std::codecvt<wchar_t, char,
> mbstate_t>::in), &cvt,
> _1, _2, _3, _4, _5, _6, _7);
> }
Have you tried it without the superfluous mem_fn? On VC6, bind isn't able to
look at ::result_type.