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,568 of 33,346    |
|    Dave to All    |
|    Platform issues with STL?    |
|    26 Sep 12 13:54:34    |
   
   From: thedaverudolf@googlemail.com   
      
   { Please limit your text to fit within 80 columns, preferably around 70,   
    so that readers don't have to scroll horizontally to read each line.   
    This article has been reformatted manually by the moderator. -mod }   
      
      
   Hi folks,   
      
   I have heard several times over the last decade or so that "we shouldn't   
   use STL for cross-platform development because it behaves differently on   
   different platforms." So, we should write our own code for containers,   
   algorithms, file I/O, etc.   
      
   However, I have never seen actual evidence that it does behave differently.   
   I'm also lazy, and don't want to re-invent the wheel :). So, can anyone   
   confirm/deny that there are legitimate reasons for me not to use STL for   
   cross-platform development?   
      
   There is definitely a "standard" on how it should behave. Seems like SGI   
   is maintaining that: http://www.sgi.com/tech/stl/   
      
   But, there are definitely compiler-specific implementations. So, I guess   
   it is possible that one implementation could diverge from the standard.   
   Has anyone encountered a non-standard implementation?   
      
   Any comments are greatly appreciated.   
      
   Dave   
      
      
   --   
    [ 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