Commit Graph

73 Commits

Author SHA1 Message Date
Martin Delille
a89a392351 Replace 0 by nullptr (#7)
* replace 0 by nullptr

* more nullptr replacing 0

* Define BOOST_FOREACH_NULL

* Fix BOOST_FOREACH_NULL definition
2018-05-10 09:49:32 -07:00
jzmaddock
1da27f21d7 Foreach uses makes undocumented assumptions about type traits types
Exposed by ongoing type traits rewrite / simplification: there is no documented inheritance from an mpl type to a type traits type.  This is probably the simplest fix for the problem.
2015-01-22 17:43:49 +00:00
Stephen Kelly
05f674f3fb Foreach: Remove use of obsolete GCC version check.
[SVN r86058]
2013-09-30 15:55:02 +00:00
Stephen Kelly
a2fc5f2422 Foreach: Remove obsolete MSVC version checks.
[SVN r86021]
2013-09-30 00:17:35 +00:00
Stephen Kelly
f46088754e Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Marshall Clow
6af851a2b3 Removed missed usage of deprecated macros in Boost.Foreach
[SVN r81577]
2012-11-26 21:43:18 +00:00
Eric Niebler
23638ac74b comment typo, refs #7486
[SVN r81148]
2012-11-02 17:40:28 +00:00
Eric Niebler
bf7b02ca73 only use derefof as a Borland workaround. Eliminates warning on gcc
[SVN r80702]
2012-09-25 18:20:35 +00:00
Eric Niebler
7ccc8a870f reverting [75540] which seemed to make things worse
[SVN r77416]
2012-03-19 20:50:43 +00:00
Eric Niebler
8862f88d2c attempting to address #6131
[SVN r75540]
2011-11-18 04:31:19 +00:00
Eric Niebler
4fb4d7206a revert all recent changes to boost.foreach
[SVN r75077]
2011-10-21 03:39:17 +00:00
Eric Niebler
5eeecd79ac yet another tweak for gcc
[SVN r75026]
2011-10-18 03:45:00 +00:00
Eric Niebler
873915b136 a different fix for gcc-4.4
[SVN r74986]
2011-10-16 19:05:55 +00:00
Eric Niebler
2ab25646cf fix regression on gcc-4.4
[SVN r74968]
2011-10-16 15:55:19 +00:00
Eric Niebler
697f8082cf support for noncopyable rvalue ranges using C++0x
[SVN r74584]
2011-09-26 18:10:45 +00:00
Eric Niebler
1116c80833 use rvalue refs on supporting compilers for const rvalue detection
[SVN r69941]
2011-03-13 14:41:51 +00:00
Eric Niebler
3c9cf3d715 make auto_any ctor explicit
[SVN r65515]
2010-09-21 14:37:31 +00:00
Christopher Jefferson
aca3d7b81a Stop gcc-specific hack applying to clang
[SVN r64413]
2010-07-28 16:35:35 +00:00
Eric Niebler
8640fbc588 add foreach_fwd.hpp for forward declarations of foreach's customization points, fixes #3998
[SVN r62661]
2010-06-09 14:52:52 +00:00
Eric Niebler
76c3604513 remove out-of-date work-arounds for sun compilers, fixes #4306
[SVN r62660]
2010-06-09 14:25:14 +00:00
John Maddock
0067a122a1 Suppress msvc warnings.
Refs #3686.

[SVN r57996]
2009-11-28 10:26:26 +00:00
Eric Niebler
bd83b139a3 work around conflict with python headers, fixes #3000
[SVN r52836]
2009-05-07 17:16:46 +00:00
Eric Niebler
5efc2d3d06 Intel-Win can't seem to handle const rvalues in the ternary conditional operator, fixes #2851
[SVN r51753]
2009-03-13 16:56:25 +00:00
Eric Niebler
96113c6db5 Intel-Win can't seem to handle const rvalues in the ternary conditional operator, fixes #2851
[SVN r51752]
2009-03-13 16:54:45 +00:00
Eric Niebler
4925d93ce8 eliminate shadow warnings on gcc for nested FOREACH loops
[SVN r51169]
2009-02-10 00:50:16 +00:00
Eric Niebler
417d58e32e improve support for the latest CodeGear (formerly Borland) compiler, from nmusatti. fixes [2369]
[SVN r48992]
2008-09-28 23:05:38 +00:00
Markus Schöpflin
6c7e0cabf3 Fix for Tru64 CXX 7.1 which is able to correctly handle rvalues.
[SVN r46041]
2008-06-02 08:18:03 +00:00
Eric Niebler
e98d00ff89 fix oops
[SVN r43539]
2008-03-07 17:47:40 +00:00
Eric Niebler
acc07d988c use a __pragma to disable a msvc warning, fixes #1672
[SVN r43538]
2008-03-07 17:46:38 +00:00
Eric Niebler
5addb3060a fix warnings
[SVN r43531]
2008-03-06 18:07:22 +00:00
Eric Niebler
9613b894de fix bug iterating over abstract base
[SVN r43509]
2008-03-05 07:12:03 +00:00
Eric Niebler
3402653d1a add BOOST_REVERSE_FOREACH, fixes #1071
[SVN r43508]
2008-03-05 06:32:39 +00:00
Eric Niebler
3dfd68ece6 work around msvc bug 331418, fixes #1652
[SVN r43503]
2008-03-04 21:09:47 +00:00
David Jenkins
7466811e33 Avoid bug in Microsoft Code Analysis
[SVN r41775]
2007-12-06 06:23:55 +00:00
Eric Niebler
36c94c79a7 vc6 doesn't like BOOST_MPL_ASSERT_MSG
[SVN r41211]
2007-11-18 20:19:55 +00:00
Eric Niebler
c468adf68b add comment pointing to BOOST_FOREACH's online docs
[SVN r41155]
2007-11-16 19:24:52 +00:00
Eric Niebler
f238344e6e remove unneeded msvc-7.1 work-around
[SVN r40438]
2007-10-24 21:37:09 +00:00
Eric Niebler
5003760fe4 work around msvc-7.1 bugs
[SVN r39658]
2007-10-02 17:58:33 +00:00
Eric Niebler
6f9901e774 intel compiler on linux doesn't do const rvalue detection
[SVN r37084]
2007-02-26 20:42:46 +00:00
Eric Niebler
d0a07d4707 accomodate Boost.Range interface changes
[SVN r36685]
2007-01-10 23:30:16 +00:00
Eric Niebler
a87f337a03 patch abstract bug in other location just for good measure
[SVN r33907]
2006-05-02 14:52:20 +00:00
Eric Niebler
12652dac2b make foreach work with collection types that are abstract
[SVN r33906]
2006-05-02 14:37:54 +00:00
Eric Niebler
c7002b3113 work-around for vc7/7
[SVN r32859]
2006-02-12 17:15:26 +00:00
Tobias Schwinger
8fb73fe05a fixes a typo in the BCC workaround
[SVN r32788]
2006-02-09 22:47:38 +00:00
Eric Niebler
431339f80b try to make gcc 2.95 happy
[SVN r32744]
2006-02-08 16:17:34 +00:00
Eric Niebler
cc7a97f557 eliminate unnecessary elipses to make Borland happy
[SVN r32716]
2006-02-08 01:35:02 +00:00
Eric Niebler
90117cb240 fix reported name conflict on eVC4
[SVN r32214]
2006-01-03 18:47:24 +00:00
Eric Niebler
e4a460f83d don't use 'foreach' in BOOST_FOREACH macro, as it may be #def'ed to BOOST_FOREACH
[SVN r32190]
2005-12-30 19:34:21 +00:00
Eric Niebler
03a9bd7dac misc clean-up and bug fixing
[SVN r32170]
2005-12-27 17:29:53 +00:00
Eric Niebler
1455f771a1 simplify implementation
[SVN r32163]
2005-12-25 06:14:22 +00:00