Commit Graph

  • e9ce99dede test/function_n_test.cpp: test/function_test.cpp: - Don't use deprecated functions Douglas Gregor 2002-07-19 20:45:36 +00:00
  • 3264064074 Removed some cruft Deprecated the 'set' methods Douglas Gregor 2002-07-19 20:09:29 +00:00
  • 84bdb40567 Don't test new syntax if partial specialization is unavailable Douglas Gregor 2002-07-19 19:42:25 +00:00
  • a0bd17560f Don't fail on compilers without partial specialization (but don't allow the new syntax either) Douglas Gregor 2002-07-19 19:41:53 +00:00
  • 97f72b7f8b Don't try to use function types inline for those silly compilers that can't handle it (e.g., Borland C++ 5.5.1) Douglas Gregor 2002-07-19 19:17:14 +00:00
  • fca8413df6 Support for Borland C++ 5.5.1 Douglas Gregor 2002-07-19 19:16:33 +00:00
  • fff815d58b allocator_test.cpp: function_test.cpp: - Test out the new function syntax Douglas Gregor 2002-07-19 18:31:41 +00:00
  • 9e49833a8c function.hpp: - Support Peter Dimov's rockin' new syntax: function<string (int x, double y, float z)> f; Douglas Gregor 2002-07-19 18:30:48 +00:00
  • df34714340 Removed 'truth' template, which isn't needed Douglas Gregor 2002-05-29 17:27:59 +00:00
  • 93e507526a This commit was manufactured by cvs2svn to create tag 'Version_1_28_0'. boost-1.28.0 nobody 2002-05-16 13:26:18 +00:00
  • d50e9729ea Fixed conflicts in 1.28.0 merge Douglas Gregor 2002-05-16 02:18:29 +00:00
  • 0dcec9ffb9 function_base.hpp: - Fixed strange patch weirdness on Sun WorkShop C++ svn-branches/RC_1_28_0 Douglas Gregor 2002-05-14 14:34:21 +00:00
  • 4d635501ab function_base.hpp: function_template.hpp: - Revert to older implementation of has_empty_function (Metrowerks doesn't handle is_base_and_derived correctly) Douglas Gregor 2002-05-14 14:18:36 +00:00
  • e975d1e0c2 Lambda is now a Boost library Douglas Gregor 2002-05-13 12:33:19 +00:00
  • d1f21800ac Lambda is now a Boost library Douglas Gregor 2002-05-13 12:33:19 +00:00
  • 5d7f4aae46 Added threading models svn-branches/function_v2 Douglas Gregor 2002-05-11 15:44:38 +00:00
  • 9a4d7447a7 Removed Mixins & Policies Added ThreadingPolicy with (untested) thread safety Douglas Gregor 2002-05-11 15:41:14 +00:00
  • 83481662bb Mixins and policies are no longer supported Douglas Gregor 2002-05-11 15:33:00 +00:00
  • a3e9eb5db2 Removed tabs Douglas Gregor 2002-05-10 17:54:40 +00:00
  • 092cb0d706 This commit was manufactured by cvs2svn to create branch 'RC_1_28_0'. nobody 2002-05-10 04:34:27 +00:00
  • 64b6e85a94 This commit was manufactured by cvs2svn to create branch 'function_v2'. nobody 2002-04-30 20:05:33 +00:00
  • 57ee7e962a function.hpp: - Remove default parameters in real_get_function_impl (Fixed Borland C++ Builder 6) Douglas Gregor 2002-04-30 20:05:32 +00:00
  • 48943fec83 Removed some unused macros Douglas Gregor 2002-04-30 19:41:37 +00:00
  • a0b89d0a30 function_base.hpp: - Workaround for Sun CC Douglas Gregor 2002-04-26 17:45:53 +00:00
  • 82226cb9d6 Changed IF to ct_if because IF is sometimes used as a macro (ewww) Douglas Gregor 2002-04-10 04:10:06 +00:00
  • 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 +00:00
  • c7b0bf3271 bad_error_eg.cpp: - Example of error messages with and without compiler help svn-branches/compiler_supported_error_messages Douglas Gregor 2002-03-23 19:46:54 +00:00
  • d793e792a5 errors.hpp: - Check use of Boost.Function and emit reasonable error messages Douglas Gregor 2002-03-23 19:46:25 +00:00
  • 970f1969a7 This commit was manufactured by cvs2svn to create branch 'compiler_supported_error_messages'. nobody 2002-03-22 12:16:42 +00:00
  • 847846fb72 This commit was manufactured by cvs2svn to create tag 'perforce_2_4_merge_1'. svn-tags/perforce_2_4_merge_1 nobody 2002-03-06 14:13:30 +00:00
  • efabc7cfc9 This commit was manufactured by cvs2svn to create tag 'Version_1_27_0'. boost-1.27.0 nobody 2002-02-07 13:33:59 +00:00
  • 9b73ca6055 This commit was manufactured by cvs2svn to create branch 'RC_1_27_0'. svn-branches/RC_1_27_0 nobody 2002-02-06 03:32:50 +00:00
  • 02f5d9d0e0 reference.html: - Document non-voidness of result_type when on a broken compiler Douglas Gregor 2002-02-01 02:55:22 +00:00
  • 1774c0646d function_template.hpp: - Handle compilers without void returns in a sensible manner Douglas Gregor 2002-02-01 02:51:48 +00:00
  • 4b430a5414 function_template.hpp: - Make functionN<void, ...> really have a void return value Douglas Gregor 2002-01-31 22:56:16 +00:00
  • 7b0f465f33 Reverting member function pointer optimization Douglas Gregor 2002-01-30 15:04:08 +00:00
  • 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 +00:00
  • 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 +00:00
  • 812ef599bd function_template.hpp: - Fix unused parameter warning Douglas Gregor 2002-01-30 03:39:44 +00:00
  • 8c198b1c90 function_template.hpp: - Ensure initialization of stateless function objects Douglas Gregor 2002-01-30 03:18:15 +00:00
  • 5a07d4b262 regression.cfg: - Add stateless_test Douglas Gregor 2002-01-30 03:17:40 +00:00
  • 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 +00:00
  • aaa7f61b9e stateless_test.cpp: - Test function's ability to optimize away allocations for stateless function objects Douglas Gregor 2002-01-30 01:58:28 +00:00
  • a250f9c140 Lots of documentation fixes - thanks Dave Douglas Gregor 2002-01-25 15:00:37 +00:00
  • 4f33ea7665 function_base.hpp: - Fixed for Intel on Windows _and_ MSVC 7.0 Douglas Gregor 2002-01-24 04:06:05 +00:00
  • 51c376c4ee function_base.hpp: - Fixed for Intel C++, I hope? Douglas Gregor 2002-01-23 21:17:40 +00:00
  • 8e123d2a97 sum_avg.cpp: - Portability fix for GCC Douglas Gregor 2002-01-23 18:24:58 +00:00
  • 58656b40b1 Try to fix for MSVC 7.0 Douglas Gregor 2002-01-23 14:01:28 +00:00
  • 2fa9ee040b Fixes for Intel, added version cutoff for obsolete MWERKS workaround Dave Abrahams 2002-01-22 13:11:05 +00:00
  • 8635632937 untabified Douglas Gregor 2002-01-17 15:57:26 +00:00
  • 96f7184528 Untabified Douglas Gregor 2002-01-17 15:57:13 +00:00
  • 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 +00:00
  • d48fa26030 Renamed BOOST_MSVC_ONLY to BOOST_FUNCTION_TARGET_FIX Douglas Gregor 2001-12-24 17:11:11 +00:00
  • 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 +00:00
  • 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 +00:00
  • 794b728603 tutorial.html: - State that ref(...) function objects won't throw during construction, either. Douglas Gregor 2001-12-15 00:58:47 +00:00
  • ce68cb8999 function_template.hpp: - Use a C-style cast to deal with constness easily Douglas Gregor 2001-12-15 00:43:56 +00:00
  • 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 +00:00
  • 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 +00:00
  • db5399d447 Remove spurious semicolon Douglas Gregor 2001-12-05 22:39:33 +00:00
  • 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 +00:00
  • 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 +00:00
  • 2e67e2126b reference.html: - Document semantics of reference_wrapper usage Douglas Gregor 2001-12-03 16:26:19 +00:00
  • 1512df77b1 function_n_test: function_test: - Add testcases using ref() wrapper Douglas Gregor 2001-12-03 16:25:00 +00:00
  • eda5c2bf48 This commit was manufactured by cvs2svn to create tag 'Version_1_26_0'. boost-1.26.0 nobody 2001-11-30 18:24:42 +00:00
  • 2265421357 General cleanups Douglas Gregor 2001-11-27 23:11:44 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • a4c09a92d1 Generates the functionN.hpp headers Douglas Gregor 2001-11-19 20:32:07 +00:00
  • 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 +00:00
  • 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 +00:00
  • 11c56da46f index.html: - Removed reference to BOOST_FUNCTION_USE_VIRTUAL_FUNCTIONS Douglas Gregor 2001-11-19 14:57:08 +00:00
  • 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 +00:00
  • 32fd1374fd This commit was manufactured by cvs2svn to create tag 'Version_1_25_1_BGL'. boost-1.25.1-bgl nobody 2001-11-08 17:13:50 +00:00
  • dd76ed757b Removed question about member function pointers since they are now supported Douglas Gregor 2001-11-07 20:16:09 +00:00
  • 040e05f69d This commit was manufactured by cvs2svn to create tag 'Version_1_25_1'. boost-1.25.1 nobody 2001-11-07 10:35:13 +00:00
  • 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 +00:00
  • 6bdc663932 String literals should be const Douglas Gregor 2001-10-28 04:04:26 +00:00
  • 3c5579ccbc Removed function_cast() and .target_type() Douglas Gregor 2001-10-25 20:56:14 +00:00
  • d7ac137669 Remove checks for function_cast and .target_type() Douglas Gregor 2001-10-25 20:55:56 +00:00
  • e6011abb87 Added tests for member functions Douglas Gregor 2001-10-16 19:24:04 +00:00
  • 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 +00:00
  • 07390a35e3 Check the const function_cast function Douglas Gregor 2001-10-08 13:55:55 +00:00
  • e00d8f0afb Fixes for MSVC Douglas Gregor 2001-10-08 13:49:02 +00:00
  • a81c30d130 regression.cfg: Removed defarg_test.cpp entry Douglas Gregor 2001-10-08 13:34:00 +00:00
  • 4147c42599 defarg_test.cpp: removed (it is incorrect) Douglas Gregor 2001-10-08 13:33:14 +00:00
  • 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 +00:00
  • 62d3c6d426 Fix for BOOST_NO_STD_ALLOCATOR when std::allocator doesn't even exist Douglas Gregor 2001-10-06 20:28:27 +00:00
  • 9d940f27df This commit was manufactured by cvs2svn to create tag 'Version_1_25_0'. boost-1.25.0 nobody 2001-10-01 16:59:12 +00:00
  • a30aa907d2 Add a missing space. Darin Adler 2001-09-19 15:07:56 +00:00
  • 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 +00:00
  • 08b135e6ef This commit was manufactured by cvs2svn to create tag 'Version_1_24_0'. boost-1.24.0 nobody 2001-08-20 14:01:13 +00:00
  • 50fb80c253 Fix broken hyperlink Beman Dawes 2001-08-19 15:08:33 +00:00
  • c17df9b0d4 This commit was manufactured by cvs2svn to create branch 'split-config'. svn-branches/split-config nobody 2001-08-04 14:31:38 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • aa026cd1d8 defarg_test.cpp: - Test zero and one arguments Douglas Gregor 2001-07-17 01:27:42 +00:00