sca-c-cpp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-c-cpp] NEW ISSUE: Use std::vector instead of std::list for multi-targetreferences.
- From: Andrew Borley <BORLEY@uk.ibm.com>
- To: sca-c-cpp@lists.oasis-open.org
- Date: Wed, 22 Apr 2009 10:19:04 +0100
This issue has been assigned ID CCPP-72
by the Jira system.
See http://www.osoa.org/jira/browse/CCPP-72
Andrew
____________________________________________________________
Andrew Borley
Websphere ESB Development
Tel: 245393 Ext: +44 (0) 1962 815393 Mob: +44 (0) 7971 805547
E-mail: borley@uk.ibm.com
Mailpoint 211, IBM (UK) Ltd, Hursley Park, Winchester, Hants, SO21 2JN
____________________________________________________________
From:
| Bryan Aupperle <aupperle@us.ibm.com>
|
To:
| sca-c-cpp@lists.oasis-open.org
|
Date:
| 21/04/2009 20:05
|
Subject:
| [sca-c-cpp] 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
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]