1 2[/ Copyright (C) 2009-2012 Lorenzo Caminiti ] 3[/ Distributed under the Boost Software License, Version 1.0 ] 4[/ (see accompanying file LICENSE_1_0.txt or a copy at ] 5[/ http://www.boost.org/LICENSE_1_0.txt) ] 6[/ Home at http://www.boost.org/libs/local_function ] 7 8[library Boost.LocalFunction 9 [quickbook 1.5] 10 [version 1.0.0] 11 [copyright 2009-2012 Lorenzo Caminiti] 12 [purpose declare functions at local scope] 13 [license 14 Distributed under the Boost Software License, Version 1.0 15 (see accompanying file LICENSE_1_0.txt or a copy at 16 [@http://www.boost.org/LICENSE_1_0.txt]) 17 ] 18 [authors [Caminiti <email>lorcaminiti@gmail.com</email>, Lorenzo]] 19 [category Function Objects and Higher-Order Programming] 20] 21 22[def __CXX03__ [@http://www.open-std.org/JTC1/SC22/WG21/docs/standards C++03]] 23[def __CXX11__ [@http://www.open-std.org/JTC1/SC22/WG21/ C++11]] 24[def __C99__ [@http://www.open-std.org/jtc1/sc22/wg14/www/projects#9899 C99]] 25[def __Boost__ [@http://www.boost.org Boost]] 26[def __Boost_LocalFunction__ [@http://www.boost.org/libs/local_function Boost.LocalFunction]] 27[def __Boost_ScopeExit__ [@http://www.boost.org/libs/scope_exit Boost.ScopeExit]] 28[def __Boost_Test__ [@http://www.boost.org/libs/test Boost.Test]] 29[def __Boost_Lambda__ [@http://www.boost.org/libs/lambda Boost.Lambda]] 30[def __Boost_Phoenix__ [@http://www.boost.org/libs/phoenix Boost.Phoenix]] 31[def __Boost_Preprocessor__ [@http://www.boost.org/libs/preprocessor Boost.Preprocessor]] 32[def __Boost_MPL__ [@http://www.boost.org/libs/mpl Boost.MPL]] 33[def __Boost_ConceptCheck__ [@http://www.boost.org/libs/concept_check Boost.ConceptCheck]] 34[def __Boost_Parameter__ [@http://www.boost.org/libs/parameter Boost.Paramater]] 35[def __Boost_Typeof__ [@http://www.boost.org/libs/typeof Boost.Typeof]] 36[def __Boost_Function__ [@http://www.boost.org/libs/function Boost.Function]] 37[def __Boost_Functional_OverloadedFunction__ [@http://www.boost.org/libs/functional/overloaded_function Boost.Functional/OverloadedFunction]] 38[def __Boost_TypeTraits__ [@http://www.boost.org/libs/type_traits Boost.TypeTraits]] 39[def __Boost_Utility_IdentityType__ [@http://www.boost.org/libs/utility/identity_type Boost.Utility/IdentityType]] 40[def __Boost_Chrono__ [@http://www.boost.org/libs/chrono Boost.Chrono]] 41[def __Boost_Config__ [@http://www.boost.org/libs/chrono Boost.Config]] 42[def __CXX11_lambda_functions__ [@http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions C++11 lambda functions]] 43[def __LISP__ [@http://en.wikipedia.org/wiki/Lisp_(programming_language) LISP]] 44[def __Contractpp__ [@http://sourceforge.net/projects/contractpp Contract++]] 45[def __D_Programming_Language__ [@http://d.digitalmars.com D Programming Language]] 46[def __expression_template__ [@http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Expression-template expression template]] 47[def __N1613__ [@http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1613.pdf \[N1613\]]] 48[def __N2511__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2511.html \[N2511\]]] 49[def __N2529__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2529.pdf \[N2529\]]] 50[def __N2550__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2550.pdf \[N2550\]]] 51[def __N2657__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm \[N2657\]]] 52 53[def __Introduction__ [link boost_localfunction.introduction Introduction]] 54[def __Getting_Started__ [link boost_localfunction.getting_started Getting Started]] 55[def __Tutorial__ [link boost_localfunction.tutorial Tutorial]] 56[def __Advanced_Topics__ [link boost_localfunction.advanced_topics Advanced Topics]] 57[def __Examples__ [link boost_localfunction.examples Examples]] 58[def __Reference__ [@reference.html Reference]] 59[def __Alternatives__ [link boost_localfunction.alternatives Alternatives]] 60[def __No_Variadic_Macros__ [link boost_localfunction.no_variadic_macros No Variadic Macros]] 61[def __Implementation__ [link boost_localfunction.implementation Implementation]] 62[def __Release_Notes__ [link boost_localfunction.release_notes Release Notes]] 63[def __Bibliography__ [link boost_localfunction.bibliography Bibliography]] 64[def __Acknowledgments__ [link boost_localfunction.acknowledgments Acknowledgments]] 65 66[import ../test/add.cpp] 67[import ../test/add_seq.cpp] 68[import ../test/add_params_only.cpp] 69[import ../test/ten_void.cpp] 70[import ../test/add_this.cpp] 71[import ../test/add_template.cpp] 72[import ../test/add_default.cpp] 73[import ../test/add_with_default.cpp] 74[import ../test/macro_commas.cpp] 75[import ../test/return_assign.cpp] 76[import ../test/transform.cpp] 77[import ../test/typeof.cpp] 78[import ../test/typeof_template.cpp] 79[import ../test/add_typed.cpp] 80[import ../test/add_inline.cpp] 81[import ../test/nesting.cpp] 82[import ../test/factorial.cpp] 83[import ../test/overload.cpp] 84[import ../test/add_except.cpp] 85[import ../test/operator_error.cpp] 86[import ../test/goto.cpp] 87[import ../test/goto_error.cpp] 88[import ../test/same_line.cpp] 89 90[import ../example/add_cxx11_lambda.cpp] 91[import ../example/gcc_lambda.hpp] 92[import ../example/gcc_lambda.cpp] 93[import ../example/gcc_cxx11_lambda.cpp] 94[import ../example/const_block.hpp] 95[import ../example/const_block_error.cpp] 96[import ../example/const_block_error_cxx11_lambda.cpp] 97[import ../example/scope_exit.hpp] 98[import ../example/scope_exit.cpp] 99[import ../example/phoenix_factorial_local.cpp] 100[import ../example/phoenix_factorial.cpp] 101[import ../example/noncopyable_cxx11_lambda_error.cpp] 102[import ../example/noncopyable_local_function.cpp] 103[import ../example/expensive_copy_cxx11_lambda.cpp] 104[import ../example/expensive_copy_local_function.cpp] 105[import ../example/add_local_functor.cpp] 106[import ../example/add_global_functor.cpp] 107[import ../example/add_phoenix.cpp] 108[import ../example/impl_tparam_tricks.cpp] 109[import ../example/impl_pp_keyword.cpp] 110 111This library allows to program functions locally, within other functions, and directly within the scope where they are needed. 112 113[include introduction.qbk] 114[include getting_started.qbk] 115[include tutorial.qbk] 116[include advanced_topics.qbk] 117[include examples.qbk] 118[include alternatives.qbk] 119[include no_variadic_macros.qbk] 120[include implementation.qbk] 121[xinclude reference.xml] 122[include release_notes.qbk] 123[include bibliography.qbk] 124[include acknowledgements.qbk] 125 126