|
Re: registering simple conversions from/to python: msg#00308python.c++
"Brett Calcott" <brett.calcott@xxxxxxxxxxxxxxx> writes: > Wow! I was off on some wild goose chase making things complicated, > thinking I had to write custom converters.. > > This has got to count as one very funky technique. I expose my class, > and then add a bunch of pythonic functionality to it by declaring > functions of this kind. Heck, you can even do this stuff to your extensions classes in pure Python. See http://attachments.gmane.org/zip00608.zip.att (save as .zip file and unpack). -- Dave Abrahams Boost Consulting www.boost-consulting.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: registering simple conversions from/to python: 00308, Ralf W. Grosse-Kunstleve |
|---|---|
| Next by Date: | Re: accessing the python type system: 00308, David Abrahams |
| Previous by Thread: | Re: registering simple conversions from/to pythoni: 00308, Brett Calcott |
| Next by Thread: | Re: Re: registering simple conversions from/to python: 00308, Ralf W. Grosse-Kunstleve |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |