mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix: random generator/distribution result type (add const)
This commit is contained in:
parent
1132d08f23
commit
2c9f0647f4
33 changed files with 342 additions and 123 deletions
|
@ -406,7 +406,7 @@ namespace sprout {
|
|||
position.item->next = nxt;
|
||||
return iterator(nxt);
|
||||
}
|
||||
template <class InputIterator>
|
||||
template<typename InputIterator>
|
||||
SPROUT_CXX14_CONSTEXPR iterator insert_after(const_iterator position, InputIterator first, InputIterator last) {
|
||||
item_holder_type nxt(position.item->next);
|
||||
item_holder_type pos(position.item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue