Kp
8c037b7c26
Split player start generation
...
Move some of the logic to a separate function to enable use of `return`
instead of a `break` from a composite loop.
2022-02-19 14:52:17 +00:00
Kp
b1278b8e39
Flatten type hierarchy for enumerated_iterator
...
Pass adjust_iterator_dereference_type directly, instead of passing
iterator_dereference_type and letting enumerated_iterator compute
adjust_iterator_dereference_type.
2022-02-19 14:52:17 +00:00
Kp
72064c62e7
Add unit tests for enumerate
2022-02-13 19:13:38 +00:00
Kp
44a50b6206
Make enumerate() index by array's index_type
2021-09-04 12:17:14 +00:00
Kp
704f8f662d
Allow rvalue reference as input to enumerated_iterator
2021-06-28 03:37:50 +00:00
Kp
028f4f8a56
Use structured bindings to access enumerated ranges
2021-06-28 03:37:50 +00:00
Kp
7b12aac1bb
Transpose returned values for enumerate() of non-tuple
...
Match the order used for tuple.
2021-06-28 03:37:50 +00:00
Kp
8d2ee6f14d
Replace enumerate helper function with class template argument deduction
2020-07-16 02:31:04 +00:00
Kp
665713f315
Remove static inline declarations from fwd-partial_range.h
...
A declaration is useful if it declares an external function. A static
inline declaration, if not followed by the definition later in the same
translation unit, will not be useful. Remove such declarations, and
rely on using the definition as a declaration for those files that
actually call partial_range() or similar functions.
2020-06-10 02:25:32 +00:00
Kp
619ac0abff
Use structured bindings for enumerate+zip
2020-05-02 21:18:43 +00:00
Kp
755186ada2
Remove use of deprecated std::iterator
2020-05-02 21:18:43 +00:00
Kp
2b2ca67de5
Add enumerated_iterator::operator==
...
Defining _GLIBCXX_DEBUG introduces a dependency on this method.
Implement it so that _GLIBCXX_DEBUG can be used.
2019-08-24 18:14:16 +00:00
Kp
aacdaa77fe
Use std::find_if in create_buddy_bot
...
Avoid open-coded for loop.
2019-06-27 03:26:20 +00:00
Kp
538286e02c
Add range helper zip()
2019-05-04 18:27:36 +00:00
Kp
12b57e84e6
Switch most in-tree http:// links to https://
...
For each link given as http://, verify that the site is accessible over
https:// and, if so, switch to it. These domains were converted:
* llvm.org
* clang.llvm.org
* en.cppreference.com
* www.dxx-rebirth.com
* www.libsdl.org
* www.scons.org
2018-09-02 00:57:29 +00:00
Kp
716b320c34
Use utility d_enumerate for do_cloak_stuff
2016-11-19 17:24:52 +00:00