|
Boost Users : |
Subject: Re: [Boost-users] [boost] [type_erasure] Review started (July 18-27, 2012)
From: Sergey Mitsyn (svm_at_[hidden])
Date: 2012-08-04 11:53:22
>>
>> The library can't handle this without
>> special knowledge of std::pair. This
>> would mean creating some kind of extension
>> point, which I'm not willing to do at this point.
>
> Why is that? AFAIK it's rather easy to determine class template and
> template arguments from its instantiation - by passing it to specialized
> class template. The "recursive" argument rebinding comes out naturally.
>
> Is there another problem?
Ok, probably I got it. Library needs to pass anys as void*, and it's
impossible to say how to convert arbitrary C<void*> to C<any<...>>.
-- ------------ Sergey Mitsyn.
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