I'm getting by without this for now. Thanks for considering it.
John
On 4/7/07, Jeroen T. Vermeulen <[EMAIL PROTECTED]> wrote:
> On Fri, April 6, 2007 22:12, John Mudd wrote:
> > Here are several examples that work but the last one fails to compile.
> > I don't think I'll run into ths in my application but just thought
> > I'd mention it.
>
> > /******
> > pg_test.C: In member function `pqxx::prepare::invocation&
> > pqxx::prepare::invocation::operator=(const
> > pqxx::prepare::invocation&)':
> > pg_test.C:54: error: non-static reference member
> > `pqxx::transaction_base&pqxx::prepare::invocation::m_home', can't use
> > default assignment operator
> > pg_test.C:54: error: non-static reference member `const
> > std::string&pqxx::prepare::invocation::m_statement', can't use default
> > assignment operator
> > *******/
> > Inv = T->prepared("p1");
>
> Right. You can't assign invocations. I didn't figure anyone would need
> to... I could work around it if needed.
>
>
> Jeroen
>
>
>
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general