Commit Graph

60 Commits

Author SHA1 Message Date
Jens Maurer
f0158e1d23 add "typename"s to last change
[SVN r11497]
2001-10-31 21:42:57 +00:00
John Maddock
fd25f67373 Added support for native SGI type traits via BOOST_HAS_SGI_TYPE_TRAITS
[SVN r11486]
2001-10-31 13:03:10 +00:00
Douglas Gregor
4639e6f922 composite_traits.hpp:
- Updated is_member_pointer_helper to work for pointers to cv-qualified
          member functions when BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

type_traits_test.hpp:
	- Test a pointer to const member function


[SVN r11455]
2001-10-27 14:46:46 +00:00
John Maddock
34710e5c5d Updated preprocessor logic to use BOOST_HAS_LONG_LONG
[SVN r11399]
2001-10-18 11:33:52 +00:00
John Maddock
616ab1ec7b Misc fixes for sunpro 5.3
[SVN r11357]
2001-10-08 11:33:02 +00:00
John Maddock
ac2c3977a4 Fixed possible bug in is_empty for types that are not default constructible
[SVN r10965]
2001-08-30 10:55:48 +00:00
John Maddock
39108ae4a4 changed member "bind" to "n_bind" to fix problem with upcoming binder library.
[SVN r10611]
2001-07-14 11:08:53 +00:00
Jens Maurer
0434be849e add (unused) template value parameter
[SVN r10483]
2001-06-29 19:36:37 +00:00
John Maddock
6cd3109ff5 added bool and wchar_t fixes
[SVN r10417]
2001-06-25 11:25:20 +00:00
John Maddock
03dcc2f848 renamed member "check" to avoid conflict with Mac macro of same name.
[SVN r10352]
2001-06-16 11:56:14 +00:00
John Maddock
3f168fe158 Added gcc fix for is_convertible code (code was ill formed when the argment was a function reference)
[SVN r10305]
2001-06-10 11:07:18 +00:00
John Maddock
a7d0712cb2 Fixes for Sun C++ 5.1
[SVN r10060]
2001-05-08 11:16:35 +00:00
John Maddock
08be220827 Fixes for VC6 + compressed_pair
[SVN r10059]
2001-05-08 11:13:28 +00:00
Jens Maurer
230bd5762f add trivial HP aCC compiler workaround
[SVN r10049]
2001-05-07 21:18:24 +00:00
John Maddock
0bb9f97e12 Removed use of member templates for MWCW 5.x compatiblilty
[SVN r10010]
2001-05-05 10:59:06 +00:00
John Maddock
ea3db514e1 Fixed preprocessor logic to cope with compilers that have no member template support
[SVN r10007]
2001-05-03 11:05:08 +00:00
John Maddock
9c6b64b295 Rewritten compressed_pair regression script to test everything in a more methodical way
[SVN r10000]
2001-05-01 11:17:02 +00:00
John Maddock
6d1a6ccb6c Fixed copyright in conversion_traits.hpp, updated acknowledgements in docs
[SVN r9859]
2001-04-22 11:29:28 +00:00
John Maddock
596e7a94f1 Updated copyright declarations
[SVN r9842]
2001-04-21 12:05:19 +00:00
John Maddock
9d392f1cdd Sunpro fixes (can't cope with NESTED_TEST)
[SVN r9720]
2001-04-05 11:35:31 +00:00
Jeremy Siek
00cac66d90 added newline at end of files to prevent warnings from compilers
[SVN r9695]
2001-04-03 04:29:29 +00:00
John Maddock
38cef1f983 Added boost-wide <limits> woraround
[SVN r9688]
2001-04-01 11:59:18 +00:00
John Maddock
111d40e909 added add_const/add_volatile/is_function
Fixed is_const/is_volatile to work with reference types
Fixed is_object to work with function types.
Fixed is_enum/is_empty to work with incomplete/abstract/function types


[SVN r9640]
2001-03-25 10:34:35 +00:00
John Maddock
04d2519bdd Modified to include new sub-header <boost/type_traits/function_traits.hpp>
[SVN r9639]
2001-03-25 10:32:25 +00:00
John Maddock
c3ba753ca1 Tentative fixes for SunPro compiler
[SVN r9520]
2001-03-09 12:34:52 +00:00
John Maddock
fc45bf3964 type_traits: more tentative EDG compiler fixes...
[SVN r9321]
2001-02-24 13:04:56 +00:00
John Maddock
a4007ce6ea more tentative type_traits fixes for EDG front end
[SVN r9289]
2001-02-20 12:56:26 +00:00
John Maddock
8c6c6fd022 More type_traits tweeks.
[SVN r9287]
2001-02-20 12:17:55 +00:00
Dave Abrahams
7d0bb036ac Fixed for MSVC
[SVN r9277]
2001-02-19 16:38:14 +00:00
Dave Abrahams
57fe48fade Oops!
[SVN r9276]
2001-02-19 16:28:06 +00:00
Dave Abrahams
d6e0ea6f48 Added #include <climits>
[SVN r9275]
2001-02-19 16:26:51 +00:00
John Maddock
fabed28540 more type traits updates:
Header includes get BOOST_ prefix,
BOOST_DECL_MC dropped in favour of new BOOST_STATIC_CONSTANT (from config.hpp),
operator ! dropped in favour of boost::type_traits::ice_not template.


[SVN r9270]
2001-02-19 12:52:30 +00:00
Jens Maurer
ab2358913c use ice_not<> instead of logical not "!" to work around problems with
early EDG (for example, IRIX CC and Compaq C++)


[SVN r9255]
2001-02-18 16:16:02 +00:00
Jens Maurer
7b57ce4392 using ice_not<> instead of logical not "!" helps IRIX and Compaq C++
[SVN r9254]
2001-02-18 16:07:01 +00:00
John Maddock
5785944f54 Moved <cstddef> include to <boost/type_traits/fwd.hpp> as its required by all the new type traits headers..
[SVN r9252]
2001-02-18 12:24:46 +00:00
John Maddock
6927397756 type_traits: regression failure fixes from type traits changes...
[SVN r9249]
2001-02-18 11:43:01 +00:00
Jens Maurer
964625b851 add <cstddef> for std::size_t
[SVN r9248]
2001-02-17 22:10:12 +00:00
John Maddock
f3976d8060 Added new type traits files.
[SVN r9238]
2001-02-17 12:25:45 +00:00
Jeremy Siek
cb93c87f4f added acknowledgement to Andrei for the conversion class
[SVN r9210]
2001-02-15 15:18:38 +00:00
Jeremy Siek
b6dcd7ac0c fixed bizarre g++ 2.95.2 bug in is_convertible, discovered while
trying to compile counting_iterator_test.cpp. Removed the empty
body of the constructor for accept_any


[SVN r8932]
2001-02-04 22:02:55 +00:00
Jeremy Siek
fd7d4efb22 second attempt at a fix for the is_convertible g++ warning
[SVN r8836]
2001-01-31 20:05:03 +00:00
Jeremy Siek
8ae858cc79 rolled back g++ fix, since it didn't work
[SVN r8832]
2001-01-31 18:28:51 +00:00
Jeremy Siek
a9d7c53394 Some fixes to is_convertible to get rid of the g++ warning.
This included:
  - changes to is_convertible under g++ #ifdef
  - added parenthesis around body of BOOST_IS_CLASS macro
  - a specialization of is_array for const arrays


[SVN r8822]
2001-01-31 02:15:10 +00:00
Dave Abrahams
f6c5afb5b6 Fixed tests for long long to detect its presence on GCC
[SVN r8701]
2001-01-22 03:48:35 +00:00
Dave Abrahams
a394b44150 Fixed is_same<T,U> so it would work with T == void or U == void
Suppressed some warnings in from_not_void_conversion<> for MSVC
Fixed a spelling error


[SVN r8665]
2001-01-21 05:23:36 +00:00
John Maddock
fcc7af42a0 added directure structure proposal
[SVN r8504]
2000-12-30 11:28:30 +00:00
Dave Abrahams
de1265e810 Global replace of || with | and && with & in constant expressions to work around an MSVC bug.
[SVN r8097]
2000-11-02 01:12:23 +00:00
Dave Abrahams
a3686560a9 Fix is_reference for MSVC6.4
[SVN r8035]
2000-10-27 13:33:12 +00:00
John Maddock
8aab3f6c56 changed class to struct in is_convertible template
[SVN r7966]
2000-10-17 11:26:02 +00:00
John Maddock
dc00d7ce4d more VC6 type-traits and compressed pair fixes
[SVN r7921]
2000-10-07 10:53:47 +00:00