mirror of
https://github.com/boostorg/container.git
synced 2026-01-26 09:12:35 +01:00
ed6c8bd87d95eb8be54e133c901a50b5bcbbc288
The call of the splice method with iterators leads to an infinite loop inside common_slist_algorithms::get_previous_node
slist<int> lst1 = { 0, 1, 2, 3 };
slist<int> lst2;
lst2.splice(lst2.begin(), lst1, lst1.begin());
expected:
lst1 == { 1, 2, 3 }
lst2 == { 0 }
Description
STL-like containers from Boost
Languages
C++
92.1%
C
7.7%
CMake
0.2%