spelling and comments
This commit is contained in:
parent
e41065101a
commit
b64dff1ad8
3 changed files with 5 additions and 8 deletions
|
|
@ -796,8 +796,8 @@ namespace func{
|
|||
/* ========== function-style interface ============= */
|
||||
|
||||
/** build a TupleApplicator, which embodies the given
|
||||
* argument tuple and can be used to apply various
|
||||
* functions to them.
|
||||
* argument tuple and can be used to apply them
|
||||
* to various functions repeatedly.
|
||||
*/
|
||||
template<typename ARG>
|
||||
typename _Sig<void, ARG>::Applicator
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
/** @file function-closure-test.cpp
|
||||
** Testing a combination of tr1::function objects and metaprogramming.
|
||||
** Argument types will be extracted and represented as typelist, so they
|
||||
** can be manipulated at compile time. This test uses some functions with
|
||||
** can be manipulated at compile time. This test uses some test functions
|
||||
** and systematically applies or binds them to corresponding data tuples.
|
||||
** Moreover, closure objects will be constructed in various flavours,
|
||||
** combining a function object and a set of parameters.
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ namespace test {
|
|||
/******************************************************************************
|
||||
* @test this test covers some extensions and variations on function closures:
|
||||
* - partial application of a function, returning a partial closure
|
||||
* - variation: binding a arbitrary term, might even be a nested binder
|
||||
* - variation: binding an arbitrary term, might even be a nested binder
|
||||
* - chaining of two functions with suitable arguments ("composition")
|
||||
*/
|
||||
class FunctionComposition_test : public Test
|
||||
|
|
@ -142,10 +142,7 @@ namespace test {
|
|||
}
|
||||
|
||||
|
||||
/** verify the test input data
|
||||
* @see TypeListManipl_test#check_diagnostics()
|
||||
* for an explanation of the DISPLAY macro
|
||||
*/
|
||||
/** verify the test input data */
|
||||
void
|
||||
check_diagnostics ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue