Re: [Boost-users] [boost.tuple] issue

On 2010-07-04-Sun 15:18, Sean Farrow wrote:
I’ve got a tuple defined as: Boost::tuple
And when I do: Boost::make_tuple(true, TempWindow);
I get the error C2440 cannot convert from int to hwnd__*
Anyone got any ideas? Visual c++ 2008, and boost 1.43.
I guess the type of your TempWindow might not be HWND...? Otherwise maybe you should post a code snippet to clarify what you're trying to compile! HTH, Niels -- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center

Hi Neils:
The code of the function is:
boost::tuple
I've got a tuple defined as: Boost::tuple
And when I do: Boost::make_tuple(true, TempWindow);
I get the error C2440 cannot convert from int to hwnd__*
Anyone got any ideas? Visual c++ 2008, and boost 1.43.
I guess the type of your TempWindow might not be HWND...? Otherwise maybe you should post a code snippet to clarify what you're trying to compile! HTH, Niels -- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Niels Dekker - address until 2010-10-10
-
Sean Farrow