cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] copying of objects of polymorphic type FormPart

From: Jean-Philippe Barette-LaPierre <jpbarrette_at_gmail.com>
Date: Tue, 11 Nov 2008 11:35:27 -0500

On Tue, Nov 11, 2008 at 11:24 AM, Piotr Dobrogost <curlpp_at_2008.autoera.pl>wrote:

> Hi
>
> There is a problem with FormPart base class. It's polymorphic and we can
> make copies of objects of type FormPart* or FormPart& using the virtual
> clone() method but there is neither Copy Constructor nor Assignment Operator
> defined. It looks line we need to implement solution described in item 33
> from "More Effecive C++" by Scott Meyers.
> What do you think?

I don't have my copy near me. I'll look tonight and give you an answer.

>
> Regards
> Piotr Dobrogost
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp
>

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-11-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET