|
CeresEngine 0.2.0
A game development framework
|
Go to the source code of this file.
Namespaces | |
| namespace | CeresEngine |
Functions | |
| template<typename Container , typename Value > | |
| void | CeresEngine::erase (Container &container, const Value &value) |
Erases all items value from the given container. | |
| template<typename Container , typename Predicate > | |
| void | CeresEngine::eraseIf (Container &container, Predicate &&predicate) |
Removes all items that match the given predicate from the given container. | |
| template<typename Container > | |
| void | CeresEngine::eraseDuplicates (Container &container) |
| Removes all duplicates items from the given container. | |
| template<typename Container , typename Value > | |
| decltype(std::declval< Container >().begin()) | CeresEngine::findContainer (Container &container, const Value &value) |
Finds the first item that is equal to value. | |
| template<typename Container , typename Predicate > | |
| decltype(std::declval< Container >().begin()) | CeresEngine::findIf (Container &container, Predicate &&predicate) |
Finds the first item that the given predicate returns true. | |
| template<typename Container , typename Predicate > | |
| decltype(std::declval< Container >().begin()) | CeresEngine::findIfNot (Container &container, Predicate &&predicate) |
Finds the first item that the given predicate returns false. | |
| template<typename Container > | |
| void | CeresEngine::sort (Container &container) |
| Sorts all items in the container. | |
| template<typename Container , typename Compare > | |
| void | CeresEngine::sort (Container &container, Compare &&compare) |
Sorts all items in the container using the given compare function. | |
| template<typename Container , typename Transformation > | |
| void | CeresEngine::transformInPlace (Container &container, Transformation &&transformation) |
| template<typename InContainer , typename OutContainer , typename Transformation > | |
| void | CeresEngine::transformTo (const InContainer &inContainer, OutContainer &outContainer, Transformation &&transformation) |
| template<typename Container , typename Transformation > | |
| Vector< decltype(std::declval< Transformation >()(*std::declval< Container >().begin()))> | CeresEngine::transformTo (const Container &container, Transformation &&transformation) |
| template<typename Container , typename Range > | |
| Container | CeresEngine::toContainer (Range &range) |
| template<typename Container , typename Range > | |
| Container | CeresEngine::toContainer (const Range &range) |