Boost logo

Boost Users :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2005-05-30 11:13:07


"Toon Knapen" <toon.knapen_at_[hidden]> escribió en el mensaje
news:429AEEAE.2000807_at_fft.be...
> Fernando Cacciola wrote:
>
> <snip>
>
>>
>> A "fix" on your side would be to use
>> ::boost::numeric::converter<Target,Source>::argument_type;
>> but this isn't practical because users are forced to specify "Source"
>> explicitely.
>
>
> but in your example above you say that both 'result_type' and
> 'argument_type' result in a 'int const&' ? So replacing it would'nt make
> sens? I suppose 'argument_type' results in 'int', right ?
>
>
No, argument_type is "int const&".

I meant to use these in your wrapper. There you mix result_type with Source.

Fernando Cacciola
SciSoft


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