Boost logo

Boost Users :

Subject: Re: [Boost-users] A compilation problem at function10.hpp in thefunction library
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-24 06:49:21


Bob Lim:
> Hi guys,
>
> I cannot compile without error for function10.hpp in Visual Studio 2005
> Pro. A simple source file to reproduce the problem is attached(Test.cpp).
> There is no such problem with other function0-9.hpp, except for
> function10.hpp.

This is not really a problem with function10.hpp, but with mem_fn, which is
used when you assign a member pointer to a function<>. mem_fn doesn't
support that many parameters. It's limited to 8 (9 if you count the implicit
'this'.)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net