Boost logo

Boost :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-06-06 06:14:14


> I get following error when compiling the regex example
> regex_grep_example_3.cpp in VC6.
>
> error C2784: 'class std::mem_fun_t<_R,_Ty> __cdecl std::mem_fun(_R
> (__thiscall _Ty::*)(void))' : could not deduce template argument for
> '<Unknown>' from 'bool (__thiscall class_index::*)(class boost::ma
> tch_results<char const *,class boost::detail::allocator_adapter<char,class
> boost::detail::simple_alloc> >)'
>
> is this expected? according to the page of the tested compilers VC6 should
> pass.

Yes, the standard lib that ships with VC6 doesn't have a conforming version
of std::mem_fun, using STLport would fix the problem as would using VC7.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk