|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Find last item which equals pattern. More...
#include <cc/find>
Static Public Member Functions | |
| template<class Order = DefaultOrder, class Container , class Pattern = typename Container::Item, class Index = long> | |
| static bool | find (const Container *items, const Pattern &pattern, Index *finalIndex) |
| Search in a sorted list of items. | |
| template<class Order = DefaultOrder, class Container , class Pattern = typename Container::Item, class Index = long> | |
| static bool | find (Container *items, const Pattern &pattern, Index *finalIndex=nullptr, typename Container::Item **finalItem=nullptr) |
Find last item which equals pattern.
|
static |
Search in a sorted list of items.
| Order | Sorting order |
| Container | Array type |
| Pattern | Pattern type |
| Index | Index type |
| items | The sorted list of items |
| pattern | Pattern to search for |
| finalIndex | Returns the final index of the search |