Daniel James
8ac524debe
Revert support for clang 3.0 intrinsics in type traits.
...
As dicussed in:
http://lists.boost.org/Archives/boost/2011/06/182844.php
[SVN r72725]
2011-06-23 19:07:45 +00:00
Bryce Adelstein-Lelbach
0bd2b25d5b
Clang 3.0+ supports gcc-style type trait intrinsics.
...
[SVN r72280]
2011-05-30 12:42:20 +00:00
John Maddock
7fdc037def
Fix remove pointer so it works for cv-qualified function pointers in VC-10 (compiler bug workaround).
...
Fixes #5484 .
[SVN r71378]
2011-04-19 11:03:17 +00:00
Ion Gaztañaga
0e0c39c08a
Fixes for MSVC compilers confused with namespace issues.
...
[SVN r70662]
2011-03-28 09:03:39 +00:00
John Maddock
28631034ca
Fix up type_traits intrinsic support when using the Intel compiler.
...
Suppress quite a few Intel-12.0 warnings.
[SVN r70221]
2011-03-20 12:18:59 +00:00
John Maddock
087d133793
Update type_traits tests to reflect C++0x.
...
Make better/simpler use of C++0x intrinsics where available.
Change a few traits to C++0x behaviour.
Update docs to reflect current intrinsic availability.
[SVN r70057]
2011-03-17 13:12:44 +00:00
John Maddock
ee29b7660f
Change is_convertible to use C++0x behaviour where possible.
...
Change is_converible to use MSVC __is_convertible intrinsic.
Fixes #5271 .
Fixes #4530 .
[SVN r69822]
2011-03-10 16:52:00 +00:00
John Maddock
5c40f50432
Fix non-ASCII character.
...
Fixes #5099 .
[SVN r68691]
2011-02-07 16:39:33 +00:00
John Maddock
902217df24
Don't try and redefine macros that are already set.
...
[SVN r68095]
2011-01-13 12:14:56 +00:00
John Maddock
c02516b25b
Fix comon_type to actually work when typeof isn't in use.
...
Applies fixes from Vicente Botet.
[SVN r68040]
2011-01-12 13:29:37 +00:00
John Maddock
19b82cc55b
Fix inspection report issues.
...
[SVN r67728]
2011-01-06 17:09:17 +00:00
Ralf W. Grosse-Kunstleve
e0fb41d53c
boost/type_traits/common_type.hpp: workaround for gcc 3.2 and 3.3 to avoid spurious warning
...
[SVN r66835]
2010-11-29 02:26:46 +00:00
John Maddock
b722d7208b
Fix MSVC warning.
...
[SVN r66404]
2010-11-05 09:50:42 +00:00
John Maddock
eede6ec6e6
Apply submitted patch.
...
Fixes #4707 .
[SVN r65779]
2010-10-06 10:37:48 +00:00
John Maddock
47e6213bd8
Oops fix typo in last commit.
...
[SVN r65706]
2010-10-01 09:41:05 +00:00
John Maddock
b6378f93e9
Tentative patch for IMB's compiler.
...
[SVN r65705]
2010-10-01 09:37:22 +00:00
John Maddock
ff704d8ed0
Suppress use of typeof with the IBM compiler - it appears not to work?
...
[SVN r65629]
2010-09-27 12:25:37 +00:00
John Maddock
64e9b6ef07
Add missing #include.
...
[SVN r65626]
2010-09-27 12:15:03 +00:00
John Maddock
c77a72a7cc
Add conditional trait.
...
Update and regenerate docs.
Update type_traits.hpp and add trivial test case for it.
[SVN r65575]
2010-09-24 17:12:08 +00:00
John Maddock
edd98db5fb
Change these two traits to always use a static constant and not BOOST_STATIC_CONSTANT - otherwise they don't work!
...
Refs #4669 .
[SVN r65531]
2010-09-22 08:47:55 +00:00
John Maddock
afd6785017
Add declval and common type from Vicente J. Botet Escriba.
...
Regenerate docs.
[SVN r65443]
2010-09-17 12:12:03 +00:00
John Maddock
e66ffd9a99
Add new traits add_lvalue_reference and add_rvalue_reference.
...
[SVN r65387]
2010-09-11 18:00:56 +00:00
John Maddock
c9406a97fe
Mangle the names of internal classes so they're less likely to conflict with derived class names and members.
...
Fixes #4453 .
[SVN r64251]
2010-07-22 10:29:49 +00:00
John Maddock
b74b5fdf87
Make all references to the detail:: namespace fully qualified so we don't get ambiguities with other libraries.
...
Refs #4407 .
[SVN r63738]
2010-07-08 10:15:11 +00:00
John Maddock
0ae96f1401
Remove spurious ";".
...
[SVN r63495]
2010-07-01 17:46:38 +00:00
John Maddock
d94c44f927
Update docs to match code.
...
Update type_traits.hpp.
Completes fix for #3804 .
Fixes #3804 .
[SVN r63487]
2010-07-01 16:14:17 +00:00
John Maddock
b097b5215e
Update the type_traits library to handle rvalue references.
...
Add is_lvalue_reference and is_rvalue_reference traits.
[SVN r63486]
2010-07-01 15:55:48 +00:00
John Maddock
0e8e26666e
Fixes #4052 .
...
[SVN r60960]
2010-03-31 11:09:21 +00:00
John Maddock
90c3c8e608
Fixes #4000 .
...
[SVN r60525]
2010-03-12 16:57:29 +00:00
John Maddock
908fa41cc3
Check for __unix__ as well as unix.
...
Fixes #3708 .
[SVN r58135]
2009-12-04 10:18:29 +00:00
John Maddock
c8d4c6ccd1
Fix msvc and gcc warnings in the type_traits library.
...
Build should now be clean with cl /W4 or gcc -Wall -Wextra -pedantic for all except one test - there appears to be no way to use initialized aligned_storage with gcc without it producing a warning :-(
[SVN r57489]
2009-11-08 16:49:40 +00:00
John Maddock
13ca0cf698
Fixes #3401 .
...
[SVN r56730]
2009-10-12 11:00:02 +00:00
John Maddock
be3077e203
Fix warnings emitted by gcc when building with -Wall -Wextra.
...
Fixes #3381 .
[SVN r55957]
2009-09-01 12:24:08 +00:00
John Maddock
fcc974dd99
Workaround for IBM compiler issue, see issue #3324 .
...
[SVN r55650]
2009-08-18 11:37:46 +00:00
John Maddock
9de89e9157
Fixes #2935 .
...
Add new config macro BOOST_MSVC_FULL_VER, and updated type_traits to make use of it.
[SVN r55429]
2009-08-06 09:13:09 +00:00
John Maddock
f1817aeee1
Fixes #3317 .
...
Fix is_virtual_base_of so it doesn't lose exception specifications on it's destructors (causes GCC and maybe other compilers to choke).
[SVN r55428]
2009-08-06 08:54:45 +00:00
John Maddock
c9e77b9c8d
Fix is_base_of and is_base_and_derived to conform to C++0x.
...
Also fixed consistency of handling cv-qualified types.
Added new trait in boost::tr1 to archive old tr1 behaviour.
Updated TR1 lib to match.
[SVN r55404]
2009-08-04 17:15:51 +00:00
Jeremiah Willcock
4f26adad46
Fixed most tab and min/max issues from trunk inspection report
...
[SVN r53141]
2009-05-20 19:19:00 +00:00
John Maddock
bc45b934b6
Added tests for aligned_storage::address() and fixed some Borland specific bugs (these show up in serialization/test/test_delete_pointer_binary_archive).
...
[SVN r53071]
2009-05-17 09:12:30 +00:00
Thorsten Jørgen Ottosen
8d163a019e
update that makes it possible to have empty aligned_storage
...
[SVN r52804]
2009-05-06 19:21:17 +00:00
John Maddock
bbb3e5da87
Add missing #includes.
...
[SVN r52102]
2009-04-01 09:32:08 +00:00
John Maddock
57bdff2d23
Include new headers.
...
[SVN r52061]
2009-03-30 17:03:42 +00:00
John Maddock
da752aaaa9
Revert Borland specific fix for non-Borland compilers as it breaks some of them :-(
...
[SVN r52057]
2009-03-30 16:06:39 +00:00
John Maddock
b253d45376
Mostly fix is_virtual_base_of on Borland.
...
[SVN r51988]
2009-03-26 17:57:05 +00:00
John Maddock
0ab92896c6
Added has_new_operator from Robert Ramey.
...
[SVN r51955]
2009-03-24 13:35:49 +00:00
John Maddock
44bd98cc6b
Add is_virtual_base_of.
...
Add extra tests for is_base_of to test virtual inheritance.
Trivial warning fix for is_abstract: fixes #2827 .
[SVN r51754]
2009-03-13 17:55:21 +00:00
John Maddock
101527367a
Fix msvc regression and add additional tests to check issue #1946 fix.
...
[SVN r50559]
2009-01-13 12:49:42 +00:00
John Maddock
0e8f2434ca
MSVC's __alignof operator doesn't always do the right thing: disable for now.
...
[SVN r50410]
2008-12-30 13:25:26 +00:00
John Maddock
534e3294dc
is_class requires remove_cv even when using intrinsics if the compiler is EDG based.
...
[SVN r50401]
2008-12-29 16:42:35 +00:00
John Maddock
2e8f5e6a14
Disable intrinsic support for GCC-XML.
...
[SVN r50373]
2008-12-23 16:16:37 +00:00