public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Usage of the C++ stdlib unordered_map in GCC
@ 2022-08-30 19:57 Tim Lange
  2022-08-30 20:07 ` Marek Polacek
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Lange @ 2022-08-30 19:57 UTC (permalink / raw)
  To: GCC Mailing List

Hello,

I was preparing a patch for GCC and used the unordered_map from the C++ 
stdlib in my patch. Later on, I noticed that it is used nowhere else 
inside GCC except for some files in the go frontend.

I wondered, now that building GCC requires a C++11 host compiler, 
whether there is a consensus on which data structure implementation is 
preferred. Should I rather use a hash_map instead of an unordered_map 
or is it on my side to decide which one I choose?

- Tim



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-31 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 19:57 Usage of the C++ stdlib unordered_map in GCC Tim Lange
2022-08-30 20:07 ` Marek Polacek
2022-08-31  9:37   ` Jonathan Wakely
2022-08-31 14:35     ` Jason Merrill
2022-08-31 14:35       ` Jason Merrill
2022-08-31 15:22       ` Tim Lange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).