[C++-sig] register c++ std::pair<string, string> and std::pair<string*, string*>

MM finjulhich at gmail.com
Fri Aug 28 17:41:03 CEST 2015


On 28 August 2015 at 16:05, Stefan Seefeld <stefan at seefeld.name> wrote:

> On 28/08/15 10:15 AM, MM wrote:
> >
> > Load 1 then 2 it should trigger the warning.
> > Apologies for missing the includes.
>
> I had to modify your code a bit as it triggers errors when compiled
> as-is. And with those modifications it didn't see any warning.
> Could you please post code that I can compile without any modifications ?
>
> Thanks,
>         Stefan
>

Apologies, I also didn't get any warnings.

I was actually registering an identical   std::pair<const string*, const
string*> as an iterator with a different name in a prior module, ie I had
another class_<range2_t>("range2")

and range2_t is identical to ranget_t :-)

Thanks for helping to spot this:-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20150828/30b28a42/attachment-0001.html>


More information about the Cplusplus-sig mailing list