IBM Support

PM17185: The initializer list place parent class constructor after the cl ass data member

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Having a base class and a derived class. The derived class have
    some attributes with initial value for them to come in the initi
    alizer list. Now if the parent class constructor is called, it c
    omes after the attributes in the order. This result in warning.
    
    Workaround
    ----------
    As a workaround the property (CPP_CG:Attribute:InitializationSty
    le) can be used with value 'ByAssignment', this will help in get
    ting the parent constructor called first.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The initializer list place parent class constructor after
    the class data member
    

Problem conclusion

  • This is how the feature is designed to work.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM17185

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-24

  • Closed date

    2010-09-15

  • Last modified date

    2010-09-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
15 September 2010