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
John Maddock
03d9c11026
Fix 32-bit Linux alignment_of failure.
...
[SVN r49704]
2008-11-12 18:13:36 +00:00
John Maddock
2d7661d661
Fixes 2346.
...
Patches for the codegear compiler, with intrinsic type_traits support enabled.
[SVN r49169]
2008-10-07 17:17:55 +00:00
John Maddock
353dad4196
Change PP-logic to fix #2171 .
...
[SVN r47997]
2008-08-06 09:02:49 +00:00
John Maddock
a8248f5884
Fix some more inspection report issues: mostly non-ASCII characters in peoples names (sorry folks!).
...
[SVN r46840]
2008-06-29 09:10:46 +00:00
John Maddock
3cc8416611
Enable alignof intrinsic support.
...
Also fixes #1946 .
[SVN r46127]
2008-06-04 17:00:19 +00:00
Peter Dimov
72e51548aa
make_shared added; tweaks for old compilers; fixes #1884 .
...
[SVN r44979]
2008-05-01 16:50:39 +00:00
Hartmut Kaiser
fb2ea8595a
Fixed an ambiguity.
...
[SVN r44203]
2008-04-12 03:00:17 +00:00
John Maddock
4298d36237
Updated type_traits intrinsic support for VC8/9.
...
Updated type_traits intrinsics docs.
[SVN r44017]
2008-04-03 18:12:04 +00:00
John Maddock
713516cd7d
Update the type_traits intrinsics support to include the gcc-4.3 intrinsics.
...
Also added some braces to our testing macros to quieten gcc warnings.
[SVN r44013]
2008-04-03 16:41:43 +00:00
John Maddock
912045e6ac
Updated and strengthened type_with_alignment tests and fixed msvc issue that prevented a type_with_alignment (or any type containing it such as Boost.Optional) from being passed by value. See http://article.gmane.org/gmane.comp.lib.boost.devel/173011 for motivating test case.
...
[SVN r43984]
2008-04-01 16:48:58 +00:00
John Maddock
9f60cc0b42
Added support and tests for MSVC SSE intrinsic types with alignments > long long.
...
[SVN r43952]
2008-03-30 17:25:24 +00:00
John Maddock
e10f6cab43
Updated type traits library so that everything compiles with -Wall -pedantic with GCC.
...
[SVN r42899]
2008-01-21 18:11:09 +00:00
John Maddock
8197f3c4e0
Fixes #1525 .
...
[SVN r42138]
2007-12-18 16:37:23 +00:00
John Maddock
3c402d1377
Fixes #1504 .
...
[SVN r41968]
2007-12-11 17:16:21 +00:00
John Maddock
5e7f4a9c2b
Apply warning fix for VC8 and later only: earlier versions warn about the warning suppression :-(
...
[SVN r41278]
2007-11-21 14:03:16 +00:00
John Maddock
8cfb381025
Change warning suppression, to suppress warnings for VC8 as well.
...
[SVN r41277]
2007-11-21 12:09:28 +00:00
John Maddock
80e18d2937
Added warning suppression for VC-9.
...
[SVN r41259]
2007-11-20 16:57:32 +00:00
John Maddock
28dba3e799
Added copyright.
...
[SVN r40902]
2007-11-07 18:29:00 +00:00