From f12bd0ef93e96f2699a3cb92a29ec4e36e6d3e17 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 7 Oct 2016 23:07:34 -0500 Subject: [PATCH 1/3] Add, and update, documentation build targets. --- doc/Jamfile.v2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index b731f59..c4cf368 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -10,3 +10,12 @@ boostbook lambda-doc : lambda.xml pdf:img.src.path=$(images)/ ; +############################################################################### +alias boostdoc + : lambda.xml + : + : + : ; +explicit boostdoc ; +alias boostrelease ; +explicit boostrelease ; From ad5673c9de57646d0d35204b631b18012a30ddc3 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 7 Nov 2016 12:42:43 -0500 Subject: [PATCH 2/3] Use std::bind instead of std::bind1st when appropriate --- test/bind_tests_advanced.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/bind_tests_advanced.cpp b/test/bind_tests_advanced.cpp index d696e49..b33d10a 100644 --- a/test/bind_tests_advanced.cpp +++ b/test/bind_tests_advanced.cpp @@ -121,8 +121,16 @@ void test_unlambda() { BOOST_CHECK(call_with_101(_1 + 1) == 102); +#if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) + BOOST_CHECK(call_with_100(bl::bind(std_functor(std::bind1st(std::plus(), 1)), _1)) == 101); +#else + + BOOST_CHECK(call_with_100(bl::bind(std_functor(std::bind(std::plus(), 1, std::placeholders::_1)), _1)) == 101); + +#endif + // std_functor insturcts LL that the functor defines a result_type typedef // rather than a sig template. bl::bind(std_functor(std::plus()), _1, _2)(i, i); From 18bc9b84cbe9823e974d53048c53194837e8c555 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 19 Dec 2016 20:23:07 -0500 Subject: [PATCH 3/3] Updated link for fc++. --- doc/detail/lambda_doc.xml | 2 +- doc/lambda.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/detail/lambda_doc.xml b/doc/detail/lambda_doc.xml index 968ce5a..5207a16 100755 --- a/doc/detail/lambda_doc.xml +++ b/doc/detail/lambda_doc.xml @@ -3435,7 +3435,7 @@ was dropped. Brian McNamara -www.cc.gatech.edu/~yannis/fc++/ +yanniss.github.io/fc++/ 2002 diff --git a/doc/lambda.xml b/doc/lambda.xml index 4ad5957..26384f5 100644 --- a/doc/lambda.xml +++ b/doc/lambda.xml @@ -3440,7 +3440,7 @@ was dropped. Brian McNamara -www.cc.gatech.edu/~yannis/fc++/ +yanniss.github.io/fc++/ 2002