Issue 122853

Summary: TR1's single linked list doesn't have a size() method
Product: General Reporter: hdu <hdu>
Component: codeAssignee: hdu <hdu>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 4.0.0   
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 122766    

Description hdu@apache.org 2013-07-26 12:59:52 UTC
C++11's single linked list ("forward_list") doesn't have a size() method like its stlport4 predecessor ("slist"). Emulating the method is not needed as all usages in AOO can be replaced by a simpler and cleaner check using its empty() method.
Comment 1 SVN Robot 2013-07-26 13:07:27 UTC
"hdu" committed SVN revision 1507304 into trunk:
#i122853# replace use of size() method for single linked lists
Comment 2 hdu@apache.org 2013-07-26 13:09:06 UTC
Fixed with the commit above.
Comment 3 SVN Robot 2013-07-26 13:40:29 UTC
"hdu" committed SVN revision 1507307 into trunk:
#i122853# prevent use of slist::size() for all platforms
Comment 4 SVN Robot 2013-11-21 08:11:47 UTC
"jsc" committed SVN revision 1544060 into trunk:
#122853# replace slist size>0 with not empty
Comment 5 hdu@apache.org 2014-04-01 12:45:00 UTC
Closing the resolved issue.