Douglas Gregor
e2a7fea741
Workarounds for CW 9.2, from Reece Dunn
...
[SVN r26583]
2004-12-26 22:05:19 +00:00
Douglas Gregor
e14e57a678
Fix BOOST_NO_VOID_RETURNS workaround
...
[SVN r26518]
2004-12-15 21:40:30 +00:00
Rene Rivera
c9d7858ff0
Remove tabs in file.
...
[SVN r24040]
2004-07-25 15:53:20 +00:00
Douglas Gregor
520ee97c82
Doug Gregor -> Douglas Gregor
...
[SVN r24016]
2004-07-25 02:29:29 +00:00
Douglas Gregor
e4f632e5ca
function_template.hpp: Move definition of operator() out-of-line for
...
any compiler that isn't VC++ 6.0 (Vladimir Prus)
[SVN r23436]
2004-07-11 03:09:35 +00:00
Douglas Gregor
5b4dc38727
boost/function/function_base.hpp:
...
- Work around a GCC <= 3.3 bug where the return type of a function template
that cannot possibly match is instantiated when it should not be, causing
errors in the use of operator==. This results in slightly reduced
functionality.
libs/function/test/contains_test.cpp:
- Don't test that which GCC cannot now handle
[SVN r23170]
2004-06-23 16:00:01 +00:00
Douglas Gregor
22fd23b00f
function_template.hpp, function_base.hpp:
...
- Comparison operators are now written in terms of function_base so that
implicit conversions to function<...> or functionN<...> don't allow
arbitrary comparisons.
[SVN r23126]
2004-06-20 05:32:28 +00:00
Douglas Gregor
ae11f21513
Try to make IBM VisualAge C++ 6 happy
...
[SVN r22795]
2004-05-12 00:39:00 +00:00
Douglas Gregor
dc14c35c38
function_base.hpp:
...
- Fix silly typo where it returned "false" instead of the NULL
pointer.
[SVN r22760]
2004-05-07 11:43:41 +00:00
Douglas Gregor
1b27dc8f86
Fix some shadow warnings
...
[SVN r22670]
2004-04-20 00:32:48 +00:00
Douglas Gregor
2c0e633307
Added contains() and function_equal()
...
[SVN r22483]
2004-03-12 03:38:20 +00:00
Douglas Gregor
1a142a2f94
Fix on GCC 2.9x from Ralf
...
[SVN r22249]
2004-02-12 22:48:22 +00:00
Douglas Gregor
f0c5e5e95b
Work around a GCC 2.95.3 bug triggered by the workaround to a VC++ 7.1 bug...
...
[SVN r22242]
2004-02-11 18:16:55 +00:00
Douglas Gregor
2fb242eae1
Work around CLR bug in .NET 2003
...
[SVN r22234]
2004-02-11 04:26:53 +00:00
Douglas Gregor
b7608dff24
type_info::operator== fixes (Peter Dimov)
...
[SVN r22083]
2004-01-30 17:15:03 +00:00
Douglas Gregor
746676d274
Fix semantics for comparison against reference_wrappers
...
[SVN r21901]
2004-01-24 23:31:40 +00:00
Douglas Gregor
c31ad8700e
Cast pointers, not lvalues
...
[SVN r21897]
2004-01-24 18:29:18 +00:00
Douglas Gregor
cb1bcd5410
"contains" -> "target"
...
[SVN r21845]
2004-01-20 18:07:13 +00:00
Douglas Gregor
7d30d98efd
boost/function/function_template.hpp, boost/function/function_base.hpp:
...
- Added "contains" member function to extract a pointer to the target
function object if you know its type
- Added operator== that can compare a Boost.Function object against a
function object
libs/function/test/Jamfile, libs/function/test/contains_test.cpp:
- Test contains() and equality comparison operators
[SVN r21844]
2004-01-20 18:02:02 +00:00
Douglas Gregor
44e986afe3
Switch over to the new enable_if library
...
[SVN r21143]
2003-12-04 22:31:09 +00:00
Douglas Gregor
4bb90aae7a
Metrowerks CodeWarrior 8.3 doesn't seem to support SFINAE
...
[SVN r21141]
2003-12-04 22:06:56 +00:00
Douglas Gregor
04eb767238
Possible fix for Metrowerks
...
[SVN r21126]
2003-12-03 19:55:57 +00:00
Douglas Gregor
8c8f072d09
Update license to the new Boost license (yay!)
...
[SVN r20235]
2003-10-01 04:10:37 +00:00
Douglas Gregor
fad40732a9
function_template.hpp: Works around an annoying bug in one of Apple's
...
3.3 compilers.
[SVN r20233]
2003-10-01 03:40:35 +00:00
Douglas Gregor
66cd32b565
NULL pointers can be of any integral type, not just int (Howard Hinnant)
...
[SVN r19989]
2003-09-10 04:16:17 +00:00
Douglas Gregor
40c9bb204e
Me commit bad code
...
[SVN r19195]
2003-07-18 16:18:16 +00:00
Douglas Gregor
1ef5f459e2
sig needs to be a friend of functionN
...
[SVN r19174]
2003-07-18 03:48:17 +00:00
Douglas Gregor
2c8fc1b31f
add macro BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX
...
[SVN r19056]
2003-07-11 16:00:29 +00:00
Beman Dawes
fa73a61fcc
VC++ 7.1 has same bug as 7.0. Reported to Microsoft
...
[SVN r18697]
2003-06-06 11:48:50 +00:00
Douglas Gregor
ce00e49978
Newer Borland compiler still does not handle enable_if
...
[SVN r18064]
2003-03-23 16:58:05 +00:00
Douglas Gregor
07f4c425e3
Workaround for a Visual Age C++ preprocessor issue
...
[SVN r17407]
2003-02-14 15:34:39 +00:00
Douglas Gregor
25d109144d
Don't omit template parameter names (Markus Schöpflin)
...
[SVN r17333]
2003-02-12 18:46:12 +00:00
Douglas Gregor
6ac619c12b
Lots o' copyright statements
...
[SVN r17265]
2003-02-07 14:03:37 +00:00
Dave Abrahams
3cb116cf11
aCC workaround
...
[SVN r16975]
2003-01-21 13:54:27 +00:00
Beman Dawes
3b644dbfff
add or update See www.boost.org comments
...
[SVN r16708]
2002-12-27 16:51:53 +00:00
Douglas Gregor
d6659e26d7
function_base.hpp: Borland's new update has the same enable_if bug
...
[SVN r16678]
2002-12-22 14:28:29 +00:00
Douglas Gregor
535612ec85
function_base.hpp:
...
- Use BOOST_WORKAROUND more
- Borland C++ 5.5 update 2 doesn't support enable_if
- MSVC 7.0 needs the comparison-with-zero workarounds
[SVN r16636]
2002-12-17 13:50:07 +00:00
Douglas Gregor
a75e20c3ed
Support comparisons against 0 on MSVC
...
[SVN r16618]
2002-12-15 16:05:01 +00:00
Douglas Gregor
b62c8066a3
Forward-declare function_base for use in the allocator
...
[SVN r16617]
2002-12-15 15:20:28 +00:00
Douglas Gregor
30917e9f6a
MIPSpro's library needs to use allocator<function_base>, not allocator<void>
...
[SVN r16616]
2002-12-15 15:13:51 +00:00
Douglas Gregor
450959d0d7
Use boost/assert.hpp to check (at runtime) if the int passed to Boost.Function's
...
clearing constructor is zero
[SVN r16614]
2002-12-15 14:54:32 +00:00
Douglas Gregor
da9d12d1b9
function_template.hpp:
...
- When enable_if is not supported, supply an int version of the constructor
and assignment operator so that the '= 0' or construct-with-0 syntax is
usable
[SVN r16613]
2002-12-15 14:51:16 +00:00
Douglas Gregor
4466a7c9c0
function_base.hpp:
...
- GCC 3.0 and later do support enable_if. Not sure what happened there...
- Use BOOST_WORKAROUND in some places (more to come...)
[SVN r16612]
2002-12-15 14:45:13 +00:00
Douglas Gregor
b58acb02e3
BOOST_NO_CONFIG -> BOOST_STRICT_CONFIG (Dave Abrahams)
...
[SVN r16524]
2002-12-05 12:28:19 +00:00
Dave Abrahams
4cc84aff24
Disable function-type partial specializations for SunPro
...
[SVN r16512]
2002-12-04 15:55:34 +00:00
Dave Abrahams
9cf5e8efbe
Workaround Sun and HP bugs
...
[SVN r16511]
2002-12-04 15:54:33 +00:00
Douglas Gregor
17427dfa3b
Borland C++ 5.6.0 doesn't handle enable_if
...
[SVN r16262]
2002-11-15 19:26:39 +00:00
Douglas Gregor
7dcd9cd224
Metrowerks 7.2 can't handle enable_if
...
[SVN r16226]
2002-11-13 21:00:23 +00:00
Douglas Gregor
f54bd9f08d
function_template.hpp:
...
- Wrap ICEs in parentheses when used as template arguments
[SVN r16225]
2002-11-13 18:03:55 +00:00
Douglas Gregor
7baa23912d
Fix on BCC 5.6.1 (Hugo Duncan)
...
[SVN r16216]
2002-11-12 22:36:29 +00:00