Commit Graph

131 Commits

Author SHA1 Message Date
Dave Abrahams
bfb6428417 Factored out BOOST_CONCEPT_ASSERT into concept_check/assert.hpp
Fixed the implementation for GCC 3.3.x and comeau
Added BOOST_CONCEPT_WHERE, and tests


[SVN r33887]
2006-05-01 12:50:48 +00:00
Dave Abrahams
80cbd76189 Misc cleanups, missing extensions of integral types to (un)signed char
and, where apropriate, the long long types.


[SVN r33877]
2006-04-30 20:54:13 +00:00
Dave Abrahams
3bce136d94 use idiomatic convertibility assertions.
[SVN r33869]
2006-04-30 03:33:33 +00:00
Dave Abrahams
3c2a976d2a Workarounds for a nasty vc-7.1 bug that only shows up in the iterator
library tests.


[SVN r33866]
2006-04-30 03:01:58 +00:00
Dave Abrahams
24326c9df5 Fixes for concept checking; use destructors for checking classes, misc cleanup.
[SVN r33862]
2006-04-29 20:27:14 +00:00
Dave Abrahams
d4ecb93adb Rework concept checking to look lots more like ConceptGCC.
[SVN r33775]
2006-04-24 04:10:22 +00:00
Douglas Gregor
6f59ef904b Revert Jeremy Siek's patches for now
[SVN r30299]
2005-07-28 18:22:23 +00:00
Jeremy Siek
ce3fb4f640 change to input_iterator_archetype to add a type parameter for the
base class of the reference type. Needed this, for example, to get
the concept covering test for std::count right.


[SVN r30287]
2005-07-28 15:39:59 +00:00
Douglas Gregor
87f5b1ab63 Minor fixes
[SVN r26024]
2004-10-31 19:55:15 +00:00
John Maddock
1ff77e789e Added new types boost::long_long_type and boost::ulong_long_type in boost/config.hpp and applied these types in place of "long long" throughout. As a result, almost all of boost now compiles cleanly with -ansi -pedantic with gcc. Changes tested with gcc 3.3, 2.95, VC7.1 and Intel 8.
[SVN r24899]
2004-09-04 10:34:49 +00:00
Douglas Gregor
bc8f520895 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Jeremy Siek
061ed8019a change to conversion operator of input_iterator_archetype::proxy so
as to not use the copy constructor of the value_type


[SVN r22184]
2004-02-06 05:49:31 +00:00
Jeremy Siek
8a403e7859 added const to the conversion operator of input_iterator_archetype
[SVN r21866]
2004-01-21 19:03:32 +00:00
Dave Abrahams
ab0a5086b5 Better Borland workaround
[SVN r21848]
2004-01-21 00:34:27 +00:00
Dave Abrahams
308df430d2 borland workaround
[SVN r21800]
2004-01-18 16:21:05 +00:00
Jeremy Siek
7f5d7a5c54 removed default constructor from input iterator archetypes
[SVN r21784]
2004-01-16 18:40:19 +00:00
Jeremy Siek
b4d624d61f added the no_proxy version of input_iterator
[SVN r21684]
2004-01-13 18:05:44 +00:00
Jeremy Siek
a50c9fca5c added input_output_iterator_archetype
[SVN r21578]
2004-01-10 19:49:32 +00:00
Dave Abrahams
5741cdc2dc Stop using keywords reserved to the implementation
[SVN r20907]
2003-11-22 04:51:00 +00:00
Jeremy Siek
60e6cc268c removed trivial iterator archetype
[SVN r20489]
2003-10-25 01:48:15 +00:00
Jeremy Siek
47ae00bff5 removed TrivialIterator concept
[SVN r20488]
2003-10-25 01:47:53 +00:00
Thomas Witt
358b14915b Fixed forward_iterator_archetype pointer type to be ptr to const.
[SVN r18315]
2003-04-25 21:55:33 +00:00
Dave Abrahams
ce92fda5ba Add missing #include
[SVN r18260]
2003-04-16 14:28:32 +00:00
Dave Abrahams
538b271d24 Small changes to support new iterator adaptors in sandbox
[SVN r18212]
2003-04-09 11:57:59 +00:00
Beman Dawes
f07f1b2690 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Jeremy Siek
302fc5d967 added a dummy constructor to output_iterator_archetype
[SVN r15509]
2002-09-25 16:55:10 +00:00
Jeremy Siek
2ebed5a25a *** empty log message ***
[SVN r15038]
2002-08-21 16:30:48 +00:00
Dave Abrahams
1350489de0 Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
John Maddock
9541fc6e06 Added needed dummy constructor - stops some compilers complaining about
uninitialised const-members


[SVN r13296]
2002-03-28 12:52:15 +00:00
Jens Maurer
a9d7ca630e add defaulted parameter for function_requires() to work around problems
with Compaq C++ and MSVC


[SVN r13040]
2002-03-03 09:45:04 +00:00
Jeremy Siek
1a548d1db6 removed tabs
[SVN r12707]
2002-02-04 20:29:35 +00:00
Douglas Gregor
93ff79aae2 Add include of boost/type_traits/conversion_traits.hpp for is_convertible.
[SVN r12008]
2001-12-10 21:25:03 +00:00
Jeremy Siek
de88971f48 forgot to include type traits
[SVN r11992]
2001-12-10 01:25:52 +00:00
Jeremy Siek
64b2171140 added the Adaptable functor concepts
[SVN r11962]
2001-12-06 22:25:39 +00:00
John Maddock
c72370f85f Updated preprocessor logic to use BOOST_HAS_LONG_LONG
[SVN r11399]
2001-10-18 11:33:52 +00:00
Jeremy Siek
32cabb604e added "inline" in a couple places
[SVN r11160]
2001-09-19 20:49:17 +00:00
Jeremy Siek
9d62653585 fixed typo in RandomAccessContainerConcept
[SVN r10910]
2001-08-23 00:23:26 +00:00
Jeremy Siek
6f057b7c08 added const to some member functions
[SVN r10641]
2001-07-17 16:37:42 +00:00
Jeremy Siek
f0e47acb8e fixed a few things, added non-mutable versions
[SVN r10138]
2001-05-18 22:44:29 +00:00
Jeremy Siek
b7663f2747 changed comment
[SVN r10086]
2001-05-11 03:54:59 +00:00
Jeremy Siek
6969180b81 removed last use of dummy_cons
[SVN r10043]
2001-05-07 15:32:05 +00:00
Jeremy Siek
dfa5b72cd2 Removed static dummy_cons object
[SVN r10032]
2001-05-06 01:29:31 +00:00
Jeremy Siek
7d8d791022 Workarounds for HP aCC from Thomas Matelich
[SVN r10031]
2001-05-06 01:20:41 +00:00
Jeremy Siek
98ccb8167d removed const_binary_predicate_archetype, made all predicates
and function objects have a const operator()


[SVN r9912]
2001-04-23 17:07:02 +00:00
Jeremy Siek
e9531c7fbf removed check from SignedInteger in InputIterator
[SVN r9723]
2001-04-05 16:51:56 +00:00
Jeremy Siek
cf2b4b1ae0 removed #include of limits
[SVN r9694]
2001-04-03 04:13:03 +00:00
John Maddock
68988c687d Added boost-wide <limits> woraround
[SVN r9688]
2001-04-01 11:59:18 +00:00
Jeremy Siek
229bcfde08 changed to John's version of static_object
[SVN r9664]
2001-03-28 02:43:30 +00:00
Jeremy Siek
457c3173f4 removed requirement for value_type from Trivial Iterator
[SVN r9432]
2001-03-04 18:52:12 +00:00
Jeremy Siek
b967d0f1c5 added specialization of SignedIntegerConcept for long long
[SVN r8970]
2001-02-06 04:38:57 +00:00
Jens Maurer
58423511ae further BOOST_NO_STD_ITERATOR_TRAITS fix
[SVN r8871]
2001-02-02 20:16:26 +00:00
Jens Maurer
5fecf7b625 fixed compiler bug workaround around std::iterator_traits
[SVN r8870]
2001-02-02 20:12:09 +00:00
Jeremy Siek
5be4a0cd41 changed default of BOOST_FPTR to use &
[SVN r8710]
2001-01-22 17:10:16 +00:00
Jeremy Siek
ea09b74b7b Comeau fixes
[SVN r8691]
2001-01-21 21:00:10 +00:00
Jeremy Siek
920b34f027 Comeau port fixes
[SVN r8690]
2001-01-21 20:48:34 +00:00
Jeremy Siek
cb1156ef62 made private default cons, and added copy cons to output_iterator archetype,
some indenting changes to container_traits


[SVN r8681]
2001-01-21 18:50:42 +00:00
Jeremy Siek
5c9e2d55c0 fixed some Metrowerks compiler errors and warnings
[SVN r8449]
2000-12-10 17:48:24 +00:00
Jeremy Siek
3d5c7687c4 fixed some compiler warnings about unused variables
[SVN r8423]
2000-12-09 16:45:15 +00:00
Jeremy Siek
0624e1a9b2 changed some #include's
[SVN r8416]
2000-12-09 15:33:36 +00:00
Jeremy Siek
ea2027c0b8 moved out of pending
[SVN r8413]
2000-12-09 15:28:38 +00:00
Jeremy Siek
282aa1ef3d moved from pending to boost/
[SVN r8412]
2000-12-09 15:27:57 +00:00
Jeremy Siek
e375e4ce47 fixed some KCC stuff and changed less_than_op to tighten up what it provides
[SVN r8383]
2000-12-03 23:17:23 +00:00
Jeremy Siek
ffa42dd200 changed how monoid identity element works
[SVN r8374]
2000-12-01 00:57:49 +00:00
Jeremy Siek
f270c16a17 added some more archetypes
[SVN r8371]
2000-11-30 22:03:33 +00:00
Jeremy Siek
35852aace9 work on archetypes
[SVN r8360]
2000-11-30 02:54:39 +00:00
Jeremy Siek
a07b614b07 put back the CLASS_REQUIRES macro
[SVN r8324]
2000-11-25 16:31:34 +00:00
Jeremy Siek
ddd16bb04c concept checking changes
[SVN r8278]
2000-11-21 20:18:07 +00:00
Jeremy Siek
be077fe131 obsolete, replaced by concept_archetypes.hpp
[SVN r8276]
2000-11-21 17:25:46 +00:00
Jeremy Siek
86b1612338 some concept checking changes as per review comments
[SVN r8268]
2000-11-20 18:17:52 +00:00
Jeremy Siek
6e6ebd28d6 fixed Const_BinaryPredicate_concept for borland
[SVN r8117]
2000-11-03 18:38:41 +00:00
Jeremy Siek
8cd9efd6f2 port to Codewarrior 6.0
[SVN r8107]
2000-11-03 04:25:13 +00:00
Jeremy Siek
7b40323fef changes to the handling of bool return types
[SVN r8092]
2000-11-01 02:43:41 +00:00
Jeremy Siek
ec8756976a edits
[SVN r8064]
2000-10-29 21:48:54 +00:00
Jeremy Siek
72f2233aa3 fixed Assignable in concept_checks.hpp and changed the name of
concept_skeletons to concept_archetypes. Made lots of additions/changed
in concept_archetypes.


[SVN r8061]
2000-10-29 20:37:49 +00:00
Jeremy Siek
d9cb7a1e91 added Boolean_concept to concept checks to tighten up LessThanComparable
(thanks to Brian McNamara and Yassin Smaragdakis for catching this!)


[SVN r7902]
2000-10-03 22:15:02 +00:00
Jeremy Siek
cb61d68442 got rid of #if 0
[SVN r7892]
2000-10-03 04:32:55 +00:00
Jeremy Siek
4b8d078ff6 Shortened the length of some files names to avoid MacOS 31 char limit.
Updated code and docs refering to those files.
Added more documentation concerning descriptor and iterator invalidation.


[SVN r7888]
2000-10-02 18:58:19 +00:00
Jeremy Siek
0fd9a361dc removed tabs
[SVN r7835]
2000-09-25 21:19:29 +00:00
Jeremy Siek
a1556cb648 port to Greenhills C++ compiler
[SVN r7822]
2000-09-25 16:16:48 +00:00
Jeremy Siek
d7d0238c86 changes for visual c++ port
[SVN r7764]
2000-09-22 04:18:51 +00:00
Jeremy Siek
6e3ebc8dac pending stuff from Boost Graph Library
[SVN r7704]
2000-09-18 08:24:47 +00:00