Commit Graph

92 Commits

Author SHA1 Message Date
Dave Abrahams
3bb2f6a885 Suppress __ICL 5 warnings
[SVN r12969]
2002-02-28 00:23:09 +00:00
Dave Abrahams
ecaab696b7 Suppress nasty GCC warnings
[SVN r12968]
2002-02-28 00:22:31 +00:00
Dave Abrahams
3294d07126 Added an explicit cast to suppress warnings
[SVN r12919]
2002-02-24 02:38:45 +00:00
Dave Abrahams
bddf43c4c1 Added a few more specializations to suppress GCC warnings
[SVN r12918]
2002-02-24 02:37:36 +00:00
Dave Abrahams
f132cbf95c eliminate types with implicit conversion to pointers for is_array
[SVN r12914]
2002-02-23 20:52:30 +00:00
Dave Abrahams
862508b9aa oops, bug fix
[SVN r12890]
2002-02-22 05:29:56 +00:00
Dave Abrahams
7191a5eaea ----------------------------------------------------------------------
Fixed is_POD for array types on compilers without partial
specialization. Caused tests to fail when the number of failures
doesn't exactly meet expectations.

Modified Files:
	boost/type_traits/object_traits.hpp
	boost/type_traits/type_traits_test.hpp
	libs/type_traits/tests/object_type_traits_test.cpp
----------------------------------------------------------------------


[SVN r12887]
2002-02-22 01:04:45 +00:00
John Maddock
d419537e15 Added incomplete_type test case.
[SVN r12801]
2002-02-14 12:55:35 +00:00
Darin Adler
1afdc58d44 Always say "private noncopyable" to avoid warnings.
[SVN r12762]
2002-02-08 20:08:15 +00:00
John Maddock
c3b4b469a5 Added missing header include.
[SVN r12755]
2002-02-08 12:40:57 +00:00
Dave Abrahams
26fcfa4616 Fixed is_reference<T const volatile>::value for compilers without partial specialization.
[SVN r12654]
2002-02-02 23:23:42 +00:00
Darin Adler
bc5c28bd3c New smart pointer documentation. Related clean-up of the smart pointer
library. Changing includes to include the new individual smart pointer
headers. Replacing old smart pointer library with an include of the new
smart pointer headers. Simplify ifdefs that involve the member templates
macros now that BOOST_MSVC6_MEMBER_TEMPLATES is also guaranteed to bet
set for platforms that have full member templates.


[SVN r12647]
2002-02-02 18:36:12 +00:00
Peter Dimov
2822c3752f added empty_type_t1 default constructor to keep MSVC silent
[SVN r12646]
2002-02-02 16:22:17 +00:00
Dave Abrahams
6ce582379a Suppress warnings with GCC
[SVN r12595]
2002-01-31 05:08:53 +00:00
Douglas Gregor
82c8d15179 object_traits.hpp:
- Stateless types must be empty


[SVN r12564]
2002-01-30 03:39:17 +00:00
Douglas Gregor
964ec6c642 object_traits.hpp:
- A type has to be a class and have a trivial default constructor to be
    stateless


[SVN r12562]
2002-01-30 03:18:45 +00:00
Douglas Gregor
226abdf852 object_traits.hpp:
- Add is_stateless trait


[SVN r12558]
2002-01-30 01:58:58 +00:00
John Maddock
3d45932549 Fixed is_convertible to work with cv-void types.
[SVN r12367]
2002-01-20 12:22:23 +00:00
Dave Abrahams
48196cee54 Fix for __MWERKS__
[SVN r12361]
2002-01-19 18:58:14 +00:00
John Maddock
0e0afca36d Fixed location of is_base_and_derived
[SVN r12354]
2002-01-19 13:01:51 +00:00
John Maddock
77c0127cc6 Fixed is_base_and_derived to work correctly with non-class types.
Moved to object_traits.hpp from conversion_traits.hpp


[SVN r12353]
2002-01-19 13:00:45 +00:00
John Maddock
b33bcd5f1f Stripped tabs from source
[SVN r12351]
2002-01-19 12:38:14 +00:00
John Maddock
c6fbfb05d2 Fixed MSVC warnings when using -Gr
Fixed Borland warnings in conversion_traits.hpp


[SVN r12247]
2002-01-08 12:59:19 +00:00
John Maddock
bcd934c959 Added extra partial specialisations to is_member_function_pointer
to accound for cv-qualified member-functions


[SVN r12240]
2002-01-07 12:58:09 +00:00
John Maddock
7a8b460ce8 Added traits classes:
is_base_and_derived
	has_nothrow_construct
	has_nothrow_copy
	has_nothrow_assign


[SVN r12213]
2002-01-04 12:45:46 +00:00
John Maddock
cdb95f1786 Added is_member_function_pointer template
[SVN r12211]
2002-01-04 11:10:09 +00:00
John Maddock
57c83a61e5 Fixed eroneous comment
[SVN r12153]
2001-12-27 12:21:24 +00:00
John Maddock
894e2e1beb Added some explanetary comments
[SVN r12148]
2001-12-26 11:19:38 +00:00
Dave Abrahams
e94b5d6989 fixed comment
[SVN r12039]
2001-12-13 18:15:57 +00:00
Dave Abrahams
a926ee3ba5 Added MSVC warning suppression
[SVN r12038]
2001-12-13 18:13:42 +00:00
Jens Maurer
0d1575c0b7 add definition for integral constants initialized in-class
[SVN r11723]
2001-11-18 17:32:19 +00:00
Jeremy Siek
4fdcd2d6ea non-named parameter version of some BGL algorithms
some VC++ compiler stuff


[SVN r11576]
2001-11-04 23:24:12 +00:00
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