 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
karthic@gmail.com Guest
|
Posted: Fri Jun 23, 2006 5:33 am Post subject: STL support for 64 bit applications |
|
|
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
|
Posted: Fri Jun 23, 2006 3:11 pm Post subject: Re: STL support for 64 bit applications |
|
|
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
|
Posted: Sat Jun 24, 2006 2:37 pm Post subject: Re: STL support for 64 bit applications |
|
|
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 |
|
 |
|
|
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
|
|