Commit Graph
128 Commits
Author SHA1 Message Date
Douglas Gregor 9788a1455d function_traits.hpp:
- Added function_traits template that returns arity, result type, and
    argument types for a function type.


[SVN r14671]
2002-08-05 01:59:53 +00:00
Douglas Gregor b8b462622b function_traits.hpp
[SVN r14670]
2002-08-05 01:57:33 +00:00
John Maddock 15ec877a06 removed illegal default parameters from is_const_helper and is_volatile_helper
[SVN r14625]
2002-07-27 11:42:51 +00:00
Dave Abrahams 57085fa2fd Rip out mistaken "fix" based on John Maddock's advice
[SVN r14446]
2002-07-14 11:47:42 +00:00
Dave Abrahams 6ae020bb5c Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
John Maddock 957183842d Fixed copyright notice
[SVN r14394]
2002-07-10 10:55:04 +00:00
Aleksey Gurtovoy 5d13b168b3 rollback to prev. version
[SVN r14348]
2002-07-08 11:30:33 +00:00
Aleksey Gurtovoy 0076e5f3e2 mpl_v2 refactoring
[SVN r14347]
2002-07-08 11:27:39 +00:00
Dave Abrahams a909c9c929 Make it work standalone
[SVN r14067]
2002-06-02 05:40:57 +00:00
Dave Abrahams ab9f92f970 Lots of documentation updates, plus the associated code shuffling needed to expose the right things to users
[SVN r13975]
2002-05-19 04:57:44 +00:00
John Maddock 58b0a1c266 Removed tabs, fixed end of files.
[SVN r13803]
2002-05-10 11:35:38 +00:00
John Maddock 9a6f5dc39f Added new config macro BOOST_HAS_MS_INT64 to detect presence of __int64 data type.
Modified boost source to use BOOST_HAS_LONG_LONG and BOOST_HAS_MS_INT64
   where appropriate to do so.


[SVN r13714]
2002-05-07 11:24:29 +00:00
John Maddock 7977b71a5e Fixed integral constant expression bug.
[SVN r13683]
2002-05-06 10:34:36 +00:00
John Maddock e0bfa608ce Fixes for Borland C++ Builder 6
[SVN r13662]
2002-05-04 11:03:42 +00:00
Dave Abrahams c4f487229a Workarounds for VC7.01
[SVN r13565]
2002-04-26 14:15:33 +00:00
Peter Dimov ea84470847 Disabled the new is_class for BOOST_MSVC==1301
[SVN r13543]
2002-04-22 18:02:11 +00:00
Dave Abrahams 10b04fb413 More conformance fixes
[SVN r13494]
2002-04-15 16:30:53 +00:00
Dave Abrahams db10a86c04 Conformance fixes for CWPro8
[SVN r13487]
2002-04-15 03:47:59 +00:00
Dave Abrahams fea7fc1a3a kill unused parameter warning
[SVN r13486]
2002-04-15 02:42:32 +00:00
Dave Abrahams 36005cdb14 Fixes for CWPro8 boundary
[SVN r13484]
2002-04-15 02:22:38 +00:00
Dave Abrahams e41ec3d33a Fixes for CWPro7.2
[SVN r13449]
2002-04-11 18:59:28 +00:00
Dave Abrahams ae1023cdd0 Suppress warnings for conforming compilers
[SVN r13429]
2002-04-10 13:45:58 +00:00
Douglas Gregor e87486cf7b alignment_traits.hpp:
- lots of parentheses for Borland C++

type_traits_test.hpp:
  - More parentheses for Borland C++
  - Move 'align_t' out of type_with_alignment test function 'do_it' (because Borland C++ wants it that way)


[SVN r13419]
2002-04-10 04:01:47 +00:00
Douglas Gregor 55e37c0fa0 alignment_traits.hpp:
- Slight modification to Fernando Cacciola's fix to type_with_alignment, for
    the Borland C++ compiler.


[SVN r13417]
2002-04-10 03:50:08 +00:00
Peter Dimov 6c02c10d7e Disabled warning 4121 (alignment sensitive to packing) on MSVC.
[SVN r13365]
2002-04-04 13:21:55 +00:00
Douglas Gregor 47f23f8b4f type_with_alignment<> class template, docs and testcases
[SVN r13360]
2002-04-03 15:50:34 +00:00
John Maddock 0b4cea1a65 Added needed include for standalone usage
[SVN r13242]
2002-03-22 11:25:32 +00:00
John Maddock be17f6c2a9 Changed behaviour of add_pointer with arrays.
[SVN r13241]
2002-03-22 11:25:01 +00:00
John Maddock d8fbf9e9de Tidied up Borland implementation
[SVN r13240]
2002-03-22 11:24:28 +00:00
John Maddock f1ae54e40a Fixed __int64 detection
[SVN r13224]
2002-03-19 11:30:35 +00:00
Dave Abrahams 318bcae72e warning suppression for vc7
[SVN r13209]
2002-03-15 14:15:28 +00:00
Dave Abrahams 9994e68bc8 Many fixes for MSVC6, esp. with ABCs
[SVN r13188]
2002-03-14 02:20:40 +00:00
Dave Abrahams bd42bfe736 Considerably simplified is_array for MSVC
is_array now works with ABCs!


[SVN r13187]
2002-03-13 22:29:48 +00:00
Dave Abrahams 4f7c036ba9 Considerably simplified is_reference for MSVC
is_reference and is_enum now works with ABCs!


[SVN r13186]
2002-03-13 22:16:06 +00:00
John Maddock 4fe73d6f02 Added add_cv definition
[SVN r13121]
2002-03-07 12:06:44 +00:00
John Maddock 5b0657508c Added comments about usage of cr_type typedef.
[SVN r12992]
2002-03-01 12:25:11 +00:00
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