home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 32,179 of 33,346   
   Ulrich Eckhardt to All   
   Re: Find/replace function   
   23 Apr 12 09:14:27   
   
   3e3862e7   
   From: ulrich.eckhardt@dominolaser.com   
      
   Am 20.04.2012 21:23, schrieb Jimmy H.:   
   > Ulrich Eckhardt  wrote:   
   >> 1. Even for strings, I would use size() instead of length().   
   >   
   > What is the difference? Is it just that size() is available for all   
   > STL containers?   
      
   Yes. And I also don't call them STL containers, because the STL itself   
   is factually dead, while large parts of it live on in the C++ Standard   
   Library.   
      
   Uli   
      
      
   --   
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca