|
Re: Can't get a simple example with fstream to compile & link: msg#00135python.c++
Fast Bike wrote: I have been trying this for a little while. I can do this is syntactically incorrect: you provide ':' but an empty initializer list. That should read: PythonWrapper(int id) : myid(id) {} private: the error hints at a problem with the copy constructor. May be the class_ template requires a copy constructor to be present, but you don't provide one, and the default (compiler generated) may just not work, for example because std::fstream is neither copyable nor assignable. Regards, Stefan |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Can't get a simple example with fstream to compile & link: 00135, Fast Bike |
|---|---|
| Next by Date: | Re: Can't get a simple example with fstream to compile & link: 00135, Stefan Seefeld |
| Previous by Thread: | Re: Can't get a simple example with fstream to compile & linki: 00135, Ralf W. Grosse-Kunstleve |
| Next by Thread: | boost.python compilation with STLport-4.5.3: 00135, Vincent Rey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |