You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Franz Fehringer (JIRA)" <ax...@ws.apache.org> on 2006/01/24 15:47:10 UTC

[jira] Updated: (AXISCPP-918) generated copy constructor wrong/incomplete

     [ http://issues.apache.org/jira/browse/AXISCPP-918?page=all ]

Franz Fehringer updated AXISCPP-918:
------------------------------------

    Attachment: vakanz.wsdl
                vakanz.xsd

> generated copy constructor wrong/incomplete
> -------------------------------------------
>
>          Key: AXISCPP-918
>          URL: http://issues.apache.org/jira/browse/AXISCPP-918
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Versions: 1.6 Alpha
>  Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6
>     Reporter: Franz Fehringer
>  Attachments: vakanz.wsdl, vakanz.xsd
>
> Wsdl2ws generates for the t_Children class from my attached example an incomplete copy constructor.
> Only one of two class members gets copied (age), the other is omitted (t_Children_value).
> Additional comments:
> Initialization instead of assignment should be used in constructors.
> For this simple example no copy constructor should be generated at all, since the compiler does it right without a line of code.
> Last, if a userdefined copy constructor is to be provided, a user defined assignment operator should be provided too.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira