OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-c-cpp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW ISSUE: Use std::vector instead of std::list for multi-target references.



Target:  C++ C&I Specification CD03

Description:  
The getServices and getServiceReferences member functions of the ComponentContext class return std::lists.  Given that the size of this lists will not vary once created by the member function call, it would be more appropriate for these member functions to return std::vectors.  The resulting code, client and infrastructure, would be more efficient and the client code would be simpler - it would not be necessary to use itterators.


Proposal:

Change the return types of these two member functions to use std::vector instead  of std::list.  A corresponding change in the description of @Reference is also needed.


Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect

Research Triangle Park,  NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]