Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007830Ext Pack: Object-oriented features (ES 203 790)[All Projects] Generalpublic30-03-2019 16:0109-01-2020 16:02
ReporterKristóf Szabados 
Assigned ToJens Grabowski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0007830: Clarification request for OO features (order or member initializer and constructor)
DescriptionFrom the text it is not clear in what order the direct initializations of class members and the constructor of the class is executed and if multiple initialization is allowed.

Is it possible to initialize a member variable via its direct initializing value first and override it in the constructor?
(this I guess should be possible although not very efficient)

What if a constant member has direct initializer and would also get a value in the constructor? (this I believe should be a compile time error if can be detected)
TagsNo tags attached.
Attached Filesdocx file icon CR7830.docx [^] (130,991 bytes) 07-08-2019 08:16
docx file icon CR7830_v2.docx [^] (131,620 bytes) 07-08-2019 13:21

- Relationships
related to 0007868closedJens Grabowski External classes should be allowed internal members (direct and inherited) 

-  Notes
(0015372)
Kristóf Szabados (manager)
06-08-2019 10:12

STF discussion: first all the right hand side of the member declarations, second the initializer, third the constructor. Constants should be assigned only once. And that in class hierarchy, from the topmost super class to the lowest nd than call the constructor of the lowest class.
(0015378)
Jacob Wieland - Spirent (developer)
06-08-2019 15:59

please review
(0015403)
Kristóf Szabados (manager)
07-08-2019 13:22

fixed a minor typo and emphasized a bit more that cyclic initialization is not allowed.
(0015414)
Tomas Urban (developer)
07-08-2019 14:30

No errors found in the proposal, it can be added to the specification.
(0015571)
Jens Grabowski (manager)
18-12-2019 09:29

conflicts with 7856, 7868
(0015575)
Tomas Urban (developer)
18-12-2019 10:24

Merged with changes from 0007868 and 0007856. The merged document is in 0007868. Please mark this CR as resolved if the review of the document yield a positive result.

- Issue History
Date Modified Username Field Change
30-03-2019 16:01 Kristóf Szabados New Issue
06-08-2019 10:12 Kristóf Szabados Note Added: 0015372
06-08-2019 10:12 Kristóf Szabados Assigned To => Jacob Wieland - Spirent
06-08-2019 10:12 Kristóf Szabados Status new => assigned
06-08-2019 15:59 Jacob Wieland - Spirent File Added: CR7830.docx
06-08-2019 15:59 Jacob Wieland - Spirent Note Added: 0015378
06-08-2019 15:59 Jacob Wieland - Spirent Assigned To Jacob Wieland - Spirent => Tomas Urban
06-08-2019 15:59 Jacob Wieland - Spirent Status assigned => confirmed
07-08-2019 07:33 Jacob Wieland - Spirent File Deleted: CR7830.docx
07-08-2019 07:33 Jacob Wieland - Spirent Assigned To Tomas Urban => Jacob Wieland - Spirent
07-08-2019 07:33 Jacob Wieland - Spirent Status confirmed => assigned
07-08-2019 08:16 Jacob Wieland - Spirent File Added: CR7830.docx
07-08-2019 08:16 Jacob Wieland - Spirent Assigned To Jacob Wieland - Spirent => Tomas Urban
07-08-2019 08:16 Jacob Wieland - Spirent Status assigned => confirmed
07-08-2019 13:21 Kristóf Szabados File Added: CR7830_v2.docx
07-08-2019 13:22 Kristóf Szabados Note Added: 0015403
07-08-2019 14:30 Tomas Urban Note Added: 0015414
07-08-2019 14:30 Tomas Urban Status confirmed => resolved
07-08-2019 14:30 Tomas Urban Resolution open => fixed
08-08-2019 10:59 Jens Grabowski Assigned To Tomas Urban => Jens Grabowski
08-08-2019 10:59 Jens Grabowski Status resolved => assigned
08-08-2019 10:59 Jens Grabowski Status assigned => resolved
18-12-2019 09:27 Tomas Urban Relationship added related to 0007868
18-12-2019 09:29 Jens Grabowski Note Added: 0015571
18-12-2019 09:29 Jens Grabowski Assigned To Jens Grabowski => Tomas Urban
18-12-2019 09:29 Jens Grabowski Status resolved => assigned
18-12-2019 10:24 Tomas Urban Note Added: 0015575
18-12-2019 10:24 Tomas Urban Assigned To Tomas Urban => Jacob Wieland - Spirent
18-12-2019 10:24 Tomas Urban Status assigned => confirmed
18-12-2019 11:05 Jacob Wieland - Spirent Status confirmed => resolved
18-12-2019 11:05 Jacob Wieland - Spirent Status resolved => feedback
18-12-2019 11:05 Jacob Wieland - Spirent Resolution fixed => reopened
18-12-2019 11:05 Jacob Wieland - Spirent Status feedback => resolved
18-12-2019 11:05 Jacob Wieland - Spirent Resolution reopened => fixed
18-12-2019 11:05 Jacob Wieland - Spirent Assigned To Jacob Wieland - Spirent => Jens Grabowski
09-01-2020 16:02 Jens Grabowski Status resolved => closed


MantisBT 1.2.14 [^]
Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker