Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-10-31 09:10:25


----- Original Message -----
From: "Anton Gluck" <gluc_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, October 31, 2000 12:42 AM
Subject: Re: [boost] Re: from enumerations to I/O streams

> Dave,
>
> > I can see that my suggested approach doesn't work. The problem is that
> > there's a function in your interface somewhere that takes a
> > TextRecordIterator& argument, and we've only exposed
> > TextRecordIteratorWrapper. I suppose you'll have to revert to using the
> > technique I suggested to Ralf Grosse-Kunstleve in the excerpt below:
>
> [snip]
>
> Oh boy, this didn't work at all. I get errors from "'from_python' :
> undeclared identifier" (although I had just used it to handle
> enumerations) to "'py::Tuple' : illegal use of this type as an expression"
> to "unexpected end of file found" - telling me that I got this seriously
> messed up. I think I'll just leave this until your fix to handle the
> original constructor is up...

I think you probably took my suggestion to Ralf a bit too literally.
In any case, I'll post an update this morning (it's 9AM where I am, now) so
you don't have to worry about how to do this right.

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk