diff options
author | Adrian Kummerlaender | 2015-02-16 17:35:38 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-16 17:35:38 +0100 |
commit | f81cd736e00c28cf24412a4099bae08ff2e6c493 (patch) | |
tree | dc8a8ed7efef0f495adf5573b1fa5a43f6d08333 /README.md | |
parent | 5a9366307d23b220657629c494827def3544c490 (diff) | |
download | TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar.gz TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar.bz2 TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar.lz TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar.xz TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.tar.zst TypeAsValue-f81cd736e00c28cf24412a4099bae08ff2e6c493.zip |
Unified `Iota` and `MakeList` using nested structure generator
* `detail::generate_nested_structure` offers a higher order nested structure constructor for procedural list generation
* renamed `Fold` implementation details
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -6,17 +6,15 @@ This library is a expanded reimplementation of my previous attempt at this probl ## Example -```cpp -// λ (length (filter odd? (list 1 2 3))) -// 2 - -const std::size_t count = tav::Length< - tav::Filter< - tav::Odd, - tav::List<tav::Int<1>, tav::Int<2>, tav::Int<3>>::type - >::type ->::type::value; -``` + // λ (length (filter odd? (list 1 2 3))) + // 2 + + const std::size_t count = tav::Length< + tav::Filter< + tav::Odd, + tav::List<tav::Int<1>, tav::Int<2>, tav::Int<3>> + > + >::value; ## Current features |