C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

STL support for 64 bit applications

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
karthic@gmail.com
Guest





PostPosted: Fri Jun 23, 2006 5:33 am    Post subject: STL support for 64 bit applications Reply with quote



Hi Guys,
I am pretty new to STL.

Does SGI/Boost/STLPort STLs support 64 bit applications ?
Does any STL support Binary Tree, BTree and Other Tree Containers ?

I could not find really these information on net. I would like to
confirm before i proceed anything in my project. Any references would
be of great help.

Thanks and Regards,
Karthic


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
galathaea
Guest





PostPosted: Fri Jun 23, 2006 3:11 pm    Post subject: Re: STL support for 64 bit applications Reply with quote



karthic (AT) gmail (DOT) com wrote:
Quote:
Hi Guys,
I am pretty new to STL.

Does SGI/Boost/STLPort STLs support 64 bit applications ?
Does any STL support Binary Tree, BTree and Other Tree Containers ?

I could not find really these information on net. I would like to
confirm before i proceed anything in my project. Any references would
be of great help.

the standard library is a generic library

if your compiler supports long longs or int64s
then the standard library can be specialised on them

std::vector<unsigned long long>
etc.

trees are a type of graph
if you need tree parsing
use a std::map
otherwise boost.graph can handle any tree type you might need

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
galathaea: prankster, fablist, magician, liar


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Sean Kelly
Guest





PostPosted: Sat Jun 24, 2006 2:37 pm    Post subject: Re: STL support for 64 bit applications Reply with quote



karthic (AT) gmail (DOT) com wrote:
Quote:
Hi Guys,
I am pretty new to STL.

Does SGI/Boost/STLPort STLs support 64 bit applications ?

Probably, though you should read any documentation included with the
library you choose to be sure. If there's no mention of it, you could
try checking the "ios" header for the definition of type "streamoff."
If it's a 64 bit type then the library was at least written with 64-bit
filesystems in mind. Please note that the standard doesn't require
this type to be 64 bits even on 64 bit systems, but I would be
surprised if there were a 64-bit aware STL that had this as a 32-bit
type.

Quote:
Does any STL support Binary Tree, BTree and Other Tree Containers ?

std::map and std::multimap are typically implemented as an RB-Tree, and
the performance/ordering constraints require a balanced binary tree of
some sort.

Quote:
I could not find really these information on net. I would like to
confirm before i proceed anything in my project. Any references would
be of great help.

Personally, I find the Dinkumware web documentation to be a useful
quick reference if the standard isn't handy (www.dinkumware.com). The
STLPort documentation is quite good as well (www.stlport.org).


Sean


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.