diff options
author | Adrian Kummerlaender | 2015-01-25 20:35:38 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-01-25 20:35:38 +0100 |
commit | 8b6de4c8c89d31c5d0e16548767ef21f242aadd1 (patch) | |
tree | 021f5dc4b7c72114614bdfe38065ad962ec5d4f9 /example/turing/src | |
parent | 4f2aa4218ec63107b4624e576ff391c2019690a1 (diff) | |
download | TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar.gz TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar.bz2 TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar.lz TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar.xz TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.tar.zst TypeAsValue-8b6de4c8c89d31c5d0e16548767ef21f242aadd1.zip |
Implemented partial function application prototype
* function `Apply` enables partial supply of the template parameters of a given _function_
** unsupplied parameters may be marked by _placeholders_, i.e. approach is similar to `std::bind`
** returns a template type taking the remaining, unsupplied parameters of the partially applied _function_
* this is a prototype in the sense, that neither full application using `Apply` or partial application of higher order functions is currently supported
** e.g. a `single_type` alias type declaration is required as the variadic template `template<typename...>` doesn't directly map to `template<typename>`
* appropriate test cases document current feature set
* the goal is to enable a concise defintion of _lambda-like_ expressions for easy specialization of e.g. functors provided to higher order functions
Diffstat (limited to 'example/turing/src')
0 files changed, 0 insertions, 0 deletions