Commit Graph

  • 28984e4f23 function_base.hpp: - has_empty_target modified to deal only with function objects, and to not require pointers to the function objects. Douglas Gregor 2002-03-30 18:45:28 +0000
  • 02f5d9d0e0 reference.html: - Document non-voidness of result_type when on a broken compiler Douglas Gregor 2002-02-01 02:55:22 +0000
  • 1774c0646d function_template.hpp: - Handle compilers without void returns in a sensible manner Douglas Gregor 2002-02-01 02:51:48 +0000
  • 4b430a5414 function_template.hpp: - Make functionN<void, ...> really have a void return value Douglas Gregor 2002-01-31 22:56:16 +0000
  • 7b0f465f33 Reverting member function pointer optimization Douglas Gregor 2002-01-30 15:04:08 +0000
  • 6882358627 function_base.hpp: function_template.hpp: - Add support for storing member function pointers directly within the Boost.Function object, without allocating any extra memory Douglas Gregor 2002-01-30 04:33:45 +0000
  • 39f6d34db8 reference.html: - Document exception behavior of assignments/construction from stateless objects - Document what the term "stateless" means in this context Douglas Gregor 2002-01-30 03:54:18 +0000
  • 812ef599bd function_template.hpp: - Fix unused parameter warning Douglas Gregor 2002-01-30 03:39:44 +0000
  • 8c198b1c90 function_template.hpp: - Ensure initialization of stateless function objects Douglas Gregor 2002-01-30 03:18:15 +0000
  • 5a07d4b262 regression.cfg: - Add stateless_test Douglas Gregor 2002-01-30 03:17:40 +0000
  • 11187bcf3a function_base.hpp: - Switch over to using is_reference_wrapper instead of homegrown is_ref - Identify stateless function objects Douglas Gregor 2002-01-30 01:59:49 +0000
  • aaa7f61b9e stateless_test.cpp: - Test function's ability to optimize away allocations for stateless function objects Douglas Gregor 2002-01-30 01:58:28 +0000
  • a250f9c140 Lots of documentation fixes - thanks Dave Douglas Gregor 2002-01-25 15:00:37 +0000
  • 4f33ea7665 function_base.hpp: - Fixed for Intel on Windows _and_ MSVC 7.0 Douglas Gregor 2002-01-24 04:06:05 +0000
  • 51c376c4ee function_base.hpp: - Fixed for Intel C++, I hope? Douglas Gregor 2002-01-23 21:17:40 +0000
  • 8e123d2a97 sum_avg.cpp: - Portability fix for GCC Douglas Gregor 2002-01-23 18:24:58 +0000
  • 58656b40b1 Try to fix for MSVC 7.0 Douglas Gregor 2002-01-23 14:01:28 +0000
  • 2fa9ee040b Fixes for Intel, added version cutoff for obsolete MWERKS workaround Dave Abrahams 2002-01-22 13:11:05 +0000
  • 8635632937 untabified Douglas Gregor 2002-01-17 15:57:26 +0000
  • 96f7184528 Untabified Douglas Gregor 2002-01-17 15:57:13 +0000
  • 647693dfc9 function_base.hpp: - Make manager and functor members of function_base public instead of protected, because attempt to make HP aCC compile Boost.Function Douglas Gregor 2002-01-13 16:12:26 +0000
  • d48fa26030 Renamed BOOST_MSVC_ONLY to BOOST_FUNCTION_TARGET_FIX Douglas Gregor 2001-12-24 17:11:11 +0000
  • d3daf6db42 Renamed BOOST_MSVC_ONLY to BOOST_FUNCTION_TARGET_FIX Metrowerks needs the BOOST_FUNCTION_TARGET_FIX workaround Douglas Gregor 2001-12-24 17:10:47 +0000
  • fb26630e37 index.html: - Fix "Copying Efficiency" section to not imply that memory is ALWAYS allocated on copy. Douglas Gregor 2001-12-15 01:11:32 +0000
  • 794b728603 tutorial.html: - State that ref(...) function objects won't throw during construction, either. Douglas Gregor 2001-12-15 00:58:47 +0000
  • ce68cb8999 function_template.hpp: - Use a C-style cast to deal with constness easily Douglas Gregor 2001-12-15 00:43:56 +0000
  • 47599fb625 Added inline modifier to trivial_manager - without this, some compilers (VC6) generate linker errors, in any case it is an ODR violation to define this function in every translation unit. John Maddock 2001-12-09 12:49:09 +0000
  • 1a7478bbd1 Updated docs to reflect changes in code: - assignments/constructors that took const F& now take F - no need to use &free_function for assignment from free functions, unless using MSVC6.5 Douglas Gregor 2001-12-05 23:16:39 +0000
  • db5399d447 Remove spurious semicolon Douglas Gregor 2001-12-05 22:39:33 +0000
  • 083767f67a Taking function objects by value instead of as references-to-const. This does not work on MSVC6.5, so the BOOST_MSVC_ONLY macro was added to make them references-to-const for only that compiler. Douglas Gregor 2001-12-05 22:35:32 +0000
  • 8cbd121969 function_base.hpp: - Add trivial_manager that does nothing but copy object pointers - Add is_ref to determine if a type is a reference_wrapper - Add function_obj_ref_tag for reference_wrappers - Teach get_function_tag about reference_wrappers Douglas Gregor 2001-12-03 16:28:33 +0000
  • 2e67e2126b reference.html: - Document semantics of reference_wrapper usage Douglas Gregor 2001-12-03 16:26:19 +0000
  • 1512df77b1 function_n_test: function_test: - Add testcases using ref() wrapper Douglas Gregor 2001-12-03 16:25:00 +0000
  • 2265421357 General cleanups Douglas Gregor 2001-11-27 23:11:44 +0000
  • c64a2f3492 function_template.hpp: - Changed reinterpret_casts between pointers to member functions to C-style casts for MIPSpro. Douglas Gregor 2001-11-22 00:34:29 +0000
  • a657e5c812 Reversed prior commit - tests passing references for the implicit object parameter to an unbound member function pointer have been added again. Douglas Gregor 2001-11-19 20:57:57 +0000
  • cc3a33a19c function_template.hpp: - Use boost::mem_fn internally to deal with calls to unbound member functions. Douglas Gregor 2001-11-19 20:56:52 +0000
  • a4c09a92d1 Generates the functionN.hpp headers Douglas Gregor 2001-11-19 20:32:07 +0000
  • b8e4cdab2f function_base.hpp: - Updated any_pointer and manager classes to deal with member function pointers directly, so no allocation is required when using them. - Removed include of boost/mem_fn.hpp Douglas Gregor 2001-11-19 20:30:18 +0000
  • d37d210685 function_n_test.cpp: function_test.cpp: - Removed use of (previously existing) ability to use references for the first parameter to an unbound pointer-to-member function. Only pointer-like entities are allowed. Douglas Gregor 2001-11-19 20:19:23 +0000
  • 11c56da46f index.html: - Removed reference to BOOST_FUNCTION_USE_VIRTUAL_FUNCTIONS Douglas Gregor 2001-11-19 14:57:08 +0000
  • 3f13d39604 function_base.hpp: function_template.hpp: - Removed implementation based on virtual functions. Such an implementation can't meet exception safety requirements made by the manager/invoker version. Douglas Gregor 2001-11-19 14:52:04 +0000
  • dd76ed757b Removed question about member function pointers since they are now supported Douglas Gregor 2001-11-07 20:16:09 +0000
  • e5ff80fb52 Documented new feature in tutorial: automatic adaptation of pointers to member functions Updated reference documentation: - Adaptation of pointers to member functions - No longer lie about safe_bool - Added documentation for operator! - Defined "compatible" Douglas Gregor 2001-10-28 04:52:37 +0000
  • 6bdc663932 String literals should be const Douglas Gregor 2001-10-28 04:04:26 +0000
  • 3c5579ccbc Removed function_cast() and .target_type() Douglas Gregor 2001-10-25 20:56:14 +0000
  • d7ac137669 Remove checks for function_cast and .target_type() Douglas Gregor 2001-10-25 20:55:56 +0000
  • e6011abb87 Added tests for member functions Douglas Gregor 2001-10-16 19:24:04 +0000
  • 08d727df21 Added ability to handle member function pointers natively, e.g., boost::function<int, X*, int> f(&X::foo); Douglas Gregor 2001-10-16 19:23:37 +0000
  • 07390a35e3 Check the const function_cast function Douglas Gregor 2001-10-08 13:55:55 +0000
  • e00d8f0afb Fixes for MSVC Douglas Gregor 2001-10-08 13:49:02 +0000
  • a81c30d130 regression.cfg: Removed defarg_test.cpp entry Douglas Gregor 2001-10-08 13:34:00 +0000
  • 4147c42599 defarg_test.cpp: removed (it is incorrect) Douglas Gregor 2001-10-08 13:33:14 +0000
  • 1d4282c706 Added support for target_type() member function (returns an std::type_info of the underlying function object) and casting to retrieve the underyling target. Douglas Gregor 2001-10-08 13:32:24 +0000
  • 62d3c6d426 Fix for BOOST_NO_STD_ALLOCATOR when std::allocator doesn't even exist Douglas Gregor 2001-10-06 20:28:27 +0000
  • a30aa907d2 Add a missing space. Darin Adler 2001-09-19 15:07:56 +0000
  • b240e7efca Split default and mixin constructor into separate constructors (instead of using default value) because of MSVC 7.0b2 (Peter Dimov) Douglas Gregor 2001-09-18 14:48:51 +0000
  • 50fb80c253 Fix broken hyperlink Beman Dawes 2001-08-19 15:08:33 +0000
  • f79765cce1 reference.html: - Remove declaration/documentation of non-const operator(). - Update documentation of operator() const to state that the called object is not cv-qualified. Douglas Gregor 2001-07-22 05:30:15 +0000
  • e34716babd function_n_test.cpp: function_test.cpp: - Updated testcases to reflect semantic change in const calling Douglas Gregor 2001-07-22 05:27:20 +0000
  • 657a63fce4 function_template.hpp: - const function calling semantics changed. Now 'function' has pointer/reference semantics (constness of 'function' object does not affect constness of targetted function object) Douglas Gregor 2001-07-22 05:26:17 +0000
  • a9aa465826 function_n_test.cpp: function_test.cpp: - Removed 'static' storage specifier from 'global_int' declaration. Perhaps Sun Workshop 6 will compile Boost.Function now? Douglas Gregor 2001-07-22 05:03:43 +0000
  • aa026cd1d8 defarg_test.cpp: - Test zero and one arguments Douglas Gregor 2001-07-17 01:27:42 +0000
  • 931737f72b reference.html: - Boldified C++ keywords to make summary more readable. Douglas Gregor 2001-07-16 18:17:00 +0000
  • ce08e55a63 referemce.html: - Document swapping of mixins in swap() Douglas Gregor 2001-07-14 20:02:39 +0000
  • 8121f4ebb6 reference.html: - Assignment operator and set() function both meet the strong exception guarantee. Douglas Gregor 2001-07-14 19:58:43 +0000
  • d37903b2e7 index.html: - Removed reference and tutorial: now just link to them Douglas Gregor 2001-07-14 19:57:09 +0000
  • 3ba640809b function.hpp: - Use "self_type" instead of "function" for constructing swapping temporary (Borland C++ needs it) Douglas Gregor 2001-07-14 19:34:14 +0000
  • 131ed15e59 mixin_test.cpp: - Check assignment from function pointer Douglas Gregor 2001-07-14 18:58:16 +0000
  • aad9b5f5e0 function_template.cpp: - Correctly copy mixin when assigning from any function/function object Douglas Gregor 2001-07-14 18:51:00 +0000
  • 40b70509cc mixin_test.cpp: - Test persistence of mixins when assigning to a function object Douglas Gregor 2001-07-14 18:46:42 +0000
  • b5f3694938 mixin_test.cpp: - Test copying of mixins Douglas Gregor 2001-07-14 18:41:47 +0000
  • 5754d88110 function.hpp: - Use swap() for exception safe assignment operators Douglas Gregor 2001-07-14 18:41:19 +0000
  • b51aa315da index.html: - Use relative pathnames for links to generic programming techniques page (Gustavo Guerra). - Terminology in Basic Usage intro (Jeremy Siek). Douglas Gregor 2001-07-11 19:49:26 +0000
  • deabdc22c6 faq.html: - Fixed HTML typo near the end Douglas Gregor 2001-07-11 18:55:44 +0000
  • e28a833db5 Ron Garcia suggested removal of the duplicate explanation of (bool)f/f.empty() Douglas Gregor 2001-07-10 21:56:02 +0000
  • 93ad5963c9 function_base.hpp: - Changed "RET" to "type" in the IF template metafunction because the GCC source headers define RET as a macro. Douglas Gregor 2001-07-02 15:25:04 +0000
  • 48948088fd function_template.hpp: - One argument functions model AdaptableUnaryFunction - Two argument functions model AdaptableBinaryFunction Douglas Gregor 2001-07-01 19:17:38 +0000
  • 1f24873577 The void partial specialization of the function classes has been removed in favor of a common interface. Regardless of the compiler's capabilities, the result type of a Boost.Function function object that was declared void will be "unused". This allows the result of a Boost.Function function object to be passed as a parameter regardless of whether the function is declared as returning void. It greatly simplifies the use of Boost.Function objects with wrapper objects (i.e., when the side effects are important, but the result isn't: consider binding and composition when calling a std::for_each loop) Douglas Gregor 2001-07-01 02:17:36 +0000
  • 53f9f4484f Removed consts and associated const_casts from Borland workaround code. Douglas Gregor 2001-06-29 20:34:32 +0000
  • db362782ac function_n_test.cpp: function_test.cpp: - Removed silly ';;' constructs: MSVC seems to handle the updated code much better. Douglas Gregor 2001-06-29 19:35:40 +0000
  • 73f380d5ac Boost.Function: - Redesigned decision procedure for "is it a function pointer" vs. "is it an object". - No longer requires copy constructions of function objects during assignment or construction. - Added operator! to boost::function_base instead of relying on safe_bool conversion. - BOOST_NO_DEPENDENT_BASE_LOOKUP is now unnecessary - BOOST_WEAK_CONVERSION_OPERATORS is now unnecessary - BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING is now unnecessary Douglas Gregor 2001-06-29 19:33:29 +0000
  • 1678e1fde6 function_n_test.cpp: function_test.cpp: - Add tests for self-assignment Douglas Gregor 2001-06-26 13:41:10 +0000
  • 07c66d01fa function.hpp: - Added self-assignment check in operator= and set() Douglas Gregor 2001-06-26 13:38:58 +0000
  • 0270911a43 regression.cfg: - Run all regression tests for Boost.Function Douglas Gregor 2001-06-22 14:36:30 +0000
  • 42aedefe2f * Added initial comments and copyright notices to any files missing them. * "Acknowledgements" section added to documentation Douglas Gregor 2001-06-22 14:13:03 +0000
  • 322df8287e Initial Boost.Function commit Beman Dawes 2001-06-21 17:01:43 +0000
  • 62db26b94d Initial comit Beman Dawes 2001-06-21 16:19:33 +0000