[C++-sig] Pyste typedef problems...
David Abrahams
dave at boost-consulting.com
Mon Mar 31 18:22:54 CEST 2003
Giulio Eulisse <giulio.eulisse at cern.ch> writes:
> Tring to pystify
>
> ---CUT-HERE---
> typedef unsigned int B;
>
> class A
> {
> B b;
> public:
> B &f(void){return b;};
> };
> ---CUT-HERE---
>
> with pyste file:
>
> ---CUT-HERE---
> A=Class("A","A.h")
> ---CUT-HERE---
>
> gets to the following error, when compiling the output c++ code...
Have you ever tried to wrap a function returning a reference to an
unsigned int without using pyste? What would you expect the result
to be?
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list