commit | d8ea57169cf9e4d2d6979e19902e283385a49d71 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@efficios.com> | Mon Aug 12 13:09:03 2024 -0400 |
committer | Simon Marchi <simon.marchi@efficios.com> | Fri Sep 13 07:38:56 2024 -0400 |
tree | d8f05d0c97db2104fc54b6f32e4f6ab94426cdb3 | |
parent | 96917d0541db09977afaba3e6f8a53bfb31bcf45 [diff] |
gdbsupport/intrusive-list: make insert return an iterator Make the insert method return an iterator to the inserted element. This mimics what boost does [1] and what the standard library insert methods generally do [2]. [1] https://www.boost.org/doc/libs/1_79_0/doc/html/boost/intrusive/list.html#idm33771-bb [2] https://en.cppreference.com/w/cpp/container/vector/insert Change-Id: I59082883492c60ee95e8bb29a18c9376283dd660 Reviewed-by: Keith Seitz <keiths@redhat.com>