On 2007-04-19T20:49:30+0200, [EMAIL PROTECTED] wrote:
> FastCgiInput * i = new FastCgiInput();
> CgiEnvironment * e = new CgiEnvironment(i);
>
> A call to i->getenv("QUERY_STRING") is successful and returns the right query
> string, but a call to e->getQueryString() returns an empty string.
>
> The documentation says, that the operator= must be overloaded. What
> exactly does that mean? What signature should I use when overloading
> operator=? How does this affect the behaviour of the code?
It means you have to define:
FastCgiInput & operator= (const FastCgiInput &)
The default copy constructor is currently called instead. If you have
not, just trace the original implementation and do the same with yours
and see what happens.
/Allan
_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc