Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #7745
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: hash_set was not declared even I #include<hash_set> |
| Date | 2011-07-12 17:19 +0900 |
| Organization | NEC Electronics |
| Message-ID | <buohb6rgbck.fsf@dhlpc061.dev.necel.com> (permalink) |
| References | <e09fa4e0-d9c3-42ab-afce-727823696ce7@p19g2000prg.googlegroups.com> <c9675133-084a-406d-9fbd-9476d3841391@h12g2000vbx.googlegroups.com> |
Michael DOUBEZ <michael.doubez@free.fr> writes: > hash_set is not part of c++. It was specified in STL SGI but was not > included in the standard. g++ provides it as a backward compatibility > in the namespace __gnu_cxx. For a non-ancient version of g++ (or any other compiler with sufficient c++0x support), wouldn't it be better to just use "unordered_set" instead? I thought that was basically just hash_set with a different name (but an actual part of the standard)... -Miles -- It wasn't the Exxon Valdez captain's driving that caused the Alaskan oil spill. It was yours. [Greenpeace advertisement, New York Times, 25 February 1990]
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
hash_set was not declared even I #include<hash_set> eric <cneric12lin0@gmail.com> - 2011-07-11 23:42 -0700
Re: hash_set was not declared even I #include<hash_set> Michael DOUBEZ <michael.doubez@free.fr> - 2011-07-12 00:48 -0700
Re: hash_set was not declared even I #include<hash_set> Miles Bader <miles@gnu.org> - 2011-07-12 17:19 +0900
Re: hash_set was not declared even I #include<hash_set> Michael DOUBEZ <michael.doubez@free.fr> - 2011-07-12 03:27 -0700
csiph-web