Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.tuple] issue
From: Niels Dekker - address until 2010-10-10 (niels_address_until_2010-10-10_at_[hidden])
Date: 2010-07-04 09:59:59


On 2010-07-04-Sun 15:18, Sean Farrow wrote:
> I’ve got a tuple defined as:
> Boost::tuple<bool, HWND>
>
> 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 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