Commit Graph
390 Commits
Author SHA1 Message Date
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
John Maddock 2275f12df8 Added a couple of boost:: qualifiers that were present in 1.34.1 but got lost from the Trunk.
[SVN r40683]
2007-11-02 13:01:39 +00:00
Joaquín M López Muñoz ec72b74218 reverted 36306 for CW 8.3
[SVN r39885]
2007-10-10 10:20:43 +00:00
John Maddock bb151449f7 Fix msvc warnings.
[SVN r39307]
2007-09-16 08:50:09 +00:00
John Maddock 60963a5d21 Fixed is_base_of/is_base_and_derived so that you get a compiler error if you try and use them with an incomplete class type.
[SVN r39219]
2007-09-12 16:44:16 +00:00
John Maddock 4d0bcdc9f5 Big type_traits update:
Added make_signed, make_unsigned and is_complex.
Added docs for some previously undocumented traits: is_signed, is_unsigned and decay.html
Added synonyms for some traits that have changed name in the latest C++ std draft.
Re-organised docs, moved docs out of the main doc build for now (it takes too long).

This also fixes issues: http://svn.boost.org/trac/boost/ticket/492 and http://svn.boost.org/trac/boost/ticket/1008.

[SVN r39175]
2007-09-10 09:19:49 +00:00
Alexander Nasonov 6378e00d86 Apply patch posted in 'attempt to patch floating_point_promotion on borland' message and wait for regression test results.
http://lists.boost.org/Archives/boost/2007/06/122727.php


[SVN r37919]
2007-06-06 20:02:45 +00:00