FS#6649 - Modernizing for C++11: replacing instances of SmallVector
Attached to Project:
OpenTTD
Opened by Henry (M3Henry) - Tuesday, 02 January 2018, 21:55 GMT
Opened by Henry (M3Henry) - Tuesday, 02 January 2018, 21:55 GMT
|
DetailsAfter discussions on IRC about modernising the code to make it easier to work on, replacing non time-critical instances of SmallVector<T,S> with std::vector<T> was deemed more practical than making SmallVector STL-like.
This allows use of range-based for loops and STL algorithms to improve expressiveness in the code base. No changes to functionality have been made. Patches are based on r27956. |
This task depends upon

The rest of the patches done so far.