Boost logo

Boost Users :

Subject: Re: [Boost-users] Typedef rejected when disambiguating a call to boost::assign
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-10-30 09:46:26


On 30-10-2012 11:20, mark pashley wrote:
> Not had a chance to try it on any other compilers yet ( I haven't got
> anything else available at work).
>
> Here is the entire example if anyone is interested in trying it on another
> compiler...

you store unsigned int in your container, but use signed int in list_of.
Could that interfere? Could you try to use u suffix on the literals? (or
the first literal in each list_of expression, because this is where the
type is deduced)

-Thorsten


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