From b64dff1ad89edc5ea4edf66af87c258ba33cabc7 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 7 Jan 2012 00:02:03 +0100 Subject: [PATCH] spelling and comments --- src/lib/meta/function-closure.hpp | 4 ++-- tests/lib/meta/function-closure-test.cpp | 2 +- tests/lib/meta/function-composition-test.cpp | 7 ++----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/lib/meta/function-closure.hpp b/src/lib/meta/function-closure.hpp index 207c139bd..4275a5cb6 100644 --- a/src/lib/meta/function-closure.hpp +++ b/src/lib/meta/function-closure.hpp @@ -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 _Sig::Applicator diff --git a/tests/lib/meta/function-closure-test.cpp b/tests/lib/meta/function-closure-test.cpp index bc48c07bf..a3809bdb8 100644 --- a/tests/lib/meta/function-closure-test.cpp +++ b/tests/lib/meta/function-closure-test.cpp @@ -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. diff --git a/tests/lib/meta/function-composition-test.cpp b/tests/lib/meta/function-composition-test.cpp index 38bf82a16..45a50a047 100644 --- a/tests/lib/meta/function-composition-test.cpp +++ b/tests/lib/meta/function-composition-test.cpp @@ -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 () {