$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Boelzle (Daniel.Boelzle_at_[hidden])
Date: 2005-03-08 04:12:20
Hello,
I have problems using wonderful boost::bind with __cdecl member
functions like the following:
#include <boost/bind.hpp>
struct S
{
void __cdecl foo( int );
};
void bar()
{
S s;
int const n = 5;
boost::bind( &S::foo, &s, _1 )( n );
}
...
error C2825: 'F::result_type': cannot form a qualified name
...
I am using MSVC Version 13.10.3077 and boost 1.32.0.
I know there is already a way to use stdcall, so does anybody see a
solution for __cdecl?
thanks for any help,
regards,
--Daniel