summaryrefslogtreecommitdiff
path: root/src/containers.hh
AgeCommit message (Collapse)Author
2017-08-29Rename containers.hh to ranges.hh (and Container to Range)Maxime Coste
2017-08-29Rework containers.hh to get rid of the Factory structuresMaxime Coste
Replace them with polymorphic lambdas
2017-07-19More uses of standard type traits aliasesMaxime Coste
2017-07-19Remove unused functionMaxime Coste
2017-07-19Use c++14 function deduction and decltype(auto) to cleanup some codeMaxime Coste
2017-07-19Cleanup some code with C++14 featuresMaxime Coste
2017-07-19Migrate code to c++14Maxime Coste
2017-05-28Change ncurses_ui info box generation logic to use a Vector<String>Maxime Coste
We were generating a string, then splitting it into lines, there is no need for that, we can directly generate a vector of lines and simplify the code.
2017-01-02better support for plain pointer iterators in containers.hhMaxime Coste
use std::iterator_traits<T>::value_type instead of T::value_type that will fail when T is not of class type.
2016-12-14Make container wrapper callback functions mutableMaxime Coste
It seems at least std::mem_fn callable wrapper type call operator is not guaranteed to be const, so we need to be able to call on a non const object. This should do for now. Fixes #978
2016-10-11Use std::begin/std::end in containers.hh instead of the method versionMaxime Coste
2016-10-10Convert some uses of lambda to more concise std::mem_fnMaxime Coste
2016-03-25Add a SplitView container viewMaxime Coste
2016-03-24Correctly handle temporaries in container viewsMaxime Coste
Move temporaries into the view itself and keep a reference on non temporaries
2016-03-08Try to please gcc 4.8 with parenthesis instead of curly bracesMaxime Coste
2016-03-08Add missing curly braces in containers helpersMaxime Coste
2016-03-08Rework container helpers, use pipe syntax and cleanup implementationMaxime Coste
use 'container | filter(func) | reverse() | transform(func)' instead of 'transform(reverse(filter(container), func), func)' to express container transformations.
2016-03-08Use ranked match based completion for command namesMaxime Coste
2016-02-28Code cleanupMaxime Coste
2015-05-26Retreat ! go back to C++11 only codeMaxime Coste
This reverts commit b42de850314e7d76f873ddc7d64c5f7d2a30eb00.
2015-05-25Migrate code to c++14Maxime Coste
2015-02-27Small cleanup in containers utilsMaxime Coste
2014-12-23Tweak id_map implementationMaxime Coste
2014-12-23Move containers utils to containers.hh and add filtered/transformed utilsMaxime Coste