[Bug libstdc++/86977] [g++ 8.1.0-5ubuntu1~14.04] error: static assertion failed: unordered container must have the same value_type as its allocator

2018-08-16 Thread joao at neto dot pt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86977 --- Comment #3 from João Neto --- > > (2) How can I reliably find the node-type allocated by the map if I'd want > to use `-std=c++17`? Isn't it implementation-defined? > Please ignore my stupidity. c++17 has a `node_type` The other one I th

[Bug libstdc++/86977] [g++ 8.1.0-5ubuntu1~14.04] error: static assertion failed: unordered container must have the same value_type as its allocator

2018-08-16 Thread joao at neto dot pt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86977 --- Comment #2 from João Neto --- Hi Jonathan! Thanks for the quick reply! Two follow-up questions: (1) Shouldn't it be also flagged as an error in `gcc-6` and `gcc-7` with `-std=c++17`? (2) How can I reliably find the node-type allocated by t

[Bug libstdc++/86977] New: [g++ 8.1.0-5ubuntu1~14.04] error: static assertion failed: unordered container must have the same value_type as its allocator

2018-08-16 Thread joao at neto dot pt
Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: joao at neto dot pt Target Milestone: --- **I'm not sure this is a bug; but I couldn&#