A C++11 library inspired by underscore.js
It supports collection (container) functions like underscorejs.
RandomAccess > Bidirectional > Forward > Input
Collections:
- C-style array (R)
- array (R)
- string (R)
- vector (R)
- deque (R)
- list (B)
- forward_list (F)
- set & multiset (B)
- unordered_set & unordered_multiset (F)
- map & multimap (B)
- unordered_map & unordered_multimap (F)
Not Supported:
- stack
- queue & priority_queue
Collection Functions (Requirement):
- each (I)
- map (I)
- reduce (I)
- reduceRight (B)
- find (I)
- filter (I)
- where
- reject (I)
- every (I)
- some (I)
- contains (I)
- invoke (I)
- pluck (I)
- max (F)
- min (F)
- sortBy (R)
- groupBy (I)
- countBy (I)
- shuffle (R)
- toArray (I)
- size (I)
See test.cpp
for examples.