[Bug c++/78030] New: Lambda capture expression (different results than Clang & MSVC)

2016-10-18 Thread sthlm58 at gmail dot com
rmal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sthlm58 at gmail dot com Target Milestone: --- The following code is supposed to remove non-unique elements from the vector (i.e. already existing in a set 's' (which is cap

[Bug libstdc++/67434] std::chrono::duration acts like static even if instantiated every time

2015-09-03 Thread sthlm58 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67434 --- Comment #2 from sthlm58 at gmail dot com --- (In reply to Jonathan Wakely from comment #1) > (In reply to Michal Kucharski from comment #0) > > std::chrono::duration benchmark( ) > > { > > std::random_device rd; &

[Bug libstdc++/67434] New: std::chrono::duration acts like static even if instantiated every time

2015-09-02 Thread sthlm58 at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: sthlm58 at gmail dot com Target Milestone: --- For some reason std::chrono:duration maintains state (when instantiated as local variable) if compiled together with std