You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i might be doing something wrong, but i'm having some problems with the = operator.
When i build a fifo_map in a function and then return it, it seems to be ok, i can iterate over it. However, as soon as i try to use a find on it, i get a segmentation fault.
In the example below i test with both a map and a fifo_map, the map seems to be working as expected, fifo_map doesn't.
When i do the assign with the copy constructor it does seem to be working.
An update to this, it only seems to be happening when compiling as c++ 20 with gcc 9.3. When switching back to c++17 it works as expected. When compiling as c++ 20 for windows with visual studio it also works without a problem.
i might be doing something wrong, but i'm having some problems with the = operator.
When i build a fifo_map in a function and then return it, it seems to be ok, i can iterate over it. However, as soon as i try to use a find on it, i get a segmentation fault.
In the example below i test with both a map and a fifo_map, the map seems to be working as expected, fifo_map doesn't.
When i do the assign with the copy constructor it does seem to be working.
The text was updated successfully, but these errors were encountered: