Commit Graph

131 Commits

Author SHA1 Message Date
James E. King III
e9e3faf4be Align to Boost.CI 2022.04 2022-04-30 17:31:53 -04:00
Edward Diener
6704b09dcf
It normally should not be necessary to use the _Z form of the BOOST_P… (#52)
* It normally should not be necessary to use the _Z form of the BOOST_PP_ENUM macro, although it is perfectly legal and helpful to do so, but in this case it is necessary as a workaround for a bug in the new VC++ standard conforming preprocessor. The bug manifests itself when testing the TTI library, which internally uses the Boost MPL code. The bug in the new VC++ standard conforming compiler is fixed in the VS2019 preview product, so that fix is sure to find its way to the official VS2019 product sometime soon. In the meantime this "fix" shortens the macro expansion somewhat and, while it should not be necessary, is still helpful.

* Fix for appveyor.yml file

* Added VS2019 tests, also with new preprocessor. Further MPL Fixes for new preprocessor bug, which are also useful and will speed up preprocessing.

* Can't seem to test msvc-10.0 or msvc-11.0 any more with Appveyor

* Update description
2020-09-24 06:07:26 -04:00
Edward Diener
3d8a60ed6a
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#48)
Co-authored-by: Edward Diener <eldlistmailingz@tropicsoft.com>
2020-04-12 09:48:24 -07:00
Edward Diener
ac67f5952e Back out fix for VC++8.0 2018-11-14 11:54:53 -05:00
Robin Lindén
42c794ad42
Add test checking that MPL_ASSERT_MSG works under VC++8 2018-08-20 19:22:48 +02:00
Sergei Krivonos
525c773836 adding get_tag definition 2017-07-03 06:53:38 +03:00
Edward Diener
10e7609c67 Merge pull request #16 from brunocodutra/Tickets7975_8749
Fix to Tickets #7975 and #8749 - Branched off from develop. Please check regression tests to mak sure there are no problems caused by this fix.
2015-04-28 16:28:32 -04:00
Edward Diener
133a980224 Merge pull request #14 from brunocodutra/Ticket11001
Fix to Ticket #11001
2015-04-28 16:06:42 -04:00
Edward Diener
90951ea9e4 Remove reliance on deprecated type_traits headers. Fixed apply test. 2015-04-02 07:54:36 -04:00
Bruno Dutra
0f5451623c adding tests to attest other views don't suffer of it either 2015-03-21 22:19:56 -03:00
Bruno Dutra
eaa3f26c9c fixing the issue for empty_sequence's as well 2015-03-21 22:04:52 -03:00
Bruno Dutra
07a5457dcd avoiding errors on visual studio compilers
errors were due to the way MPL_ASSERT is defined for these compilers
2015-03-21 21:08:05 -03:00
Bruno Dutra
c8fe35643d Fix to Tickets #7975 and #8749
Originally Tickets 7975 and 8749 referred only to insertion of keys into
maps, but the very same bug can be reproduced for sets as well.
Moreover, the removal of keys from both also suffers of the same bug.
2015-02-22 20:59:59 -03:00
Bruno Dutra
feb7835e62 Adding newly added test to the Jamfile 2015-02-21 23:19:03 -03:00
Bruno Dutra
faf17ec858 Adding test cases for a scenario of increased arity limit
Test cases are based on calling apply to forward to the and_ predicate
an increasing number, from 2 to 15, of true_ constants. Since the arity
limit on the current version is set to 5,
BOOST_MPL_LIMIT_METAFUNCTION_ARITY and
BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS must be appropriately set.
2015-02-21 23:15:38 -03:00
Bruno Dutra
77cda02d85 Adding a new test case for insert_range.
Tests whether insert_range works with set, set_c and map as it should.
2015-02-21 19:44:20 -02:00
K. Noel Belcourt
6a0f617a6c Revert "Merge pull request #11 from Lastique/modularization"
This reverts commit a9a1eddba8, reversing
changes made to d6bc9845ba.
2014-09-19 18:55:00 -06:00
Andrey Semashev
cddc55a6c4 Updated tests and jamfiles to reflect the changed testing headers location. 2014-09-04 23:39:44 +04:00
Andrey Semashev
6064a97e3a Moved sizeof.hpp to core components. 2014-08-31 14:41:53 +04:00
Andrey Semashev
9bbc806090 Fixed tests compilation. 2014-08-31 14:09:10 +04:00
Andrey Semashev
e296279084 Moved min/max to MPL.Core. 2014-08-30 20:26:01 +04:00
Andrey Semashev
07bff9e105 Moved tests for core components to the sub-library. 2014-08-30 20:15:54 +04:00
Paul
f976861e13 Add test for constexpr conversion operator 2014-05-16 07:49:35 -06:00
Daniel James
27815b8d37 Merge pull request #2 from danieljames/develop-cherry-pick
Cherry pick old changes from master, and a small whitespace fix.
2014-03-20 22:53:28 +00:00
Daniel James
ea6c446ad6 Fix whitespace in 'test/always.cpp'. 2014-03-17 11:38:13 +00:00
Edward Diener
ec73776cbd Cast to long for c++11.
[SVN r86693]
2013-11-14 04:43:57 +00:00
Steven Watanabe
aa8e43a017 Work around VC11 bug when evaluating nested BOOST_MPL_ASSERTs.
[SVN r81027]
2012-10-20 16:43:51 +00:00
Joel Falcou
f8e9b04e6a mpl::always is now nullary. Test is updated to take care of new possible calls using apply and apply0.
[SVN r71163]
2011-04-10 11:27:54 +00:00
Steven Watanabe
08c6156599 Fix for_each test for C++0x
[SVN r65167]
2010-09-01 16:08:21 +00:00
Steven Watanabe
2a2c4d2895 Fix set_c iterators.
[SVN r65166]
2010-09-01 15:16:53 +00:00
Daniel Walker
ff2df79e35 removed arity detection from has_xxx_template
[SVN r63726]
2010-07-07 20:44:59 +00:00
Steven Watanabe
360322e894 Add BOOST_MPL_HAS_XXX_TEMPLATE_DEF. Fixes #861
[SVN r62579]
2010-06-08 14:24:55 +00:00
Aleksey Gurtovoy
4678423fee Fix for #1992
[SVN r60888]
2010-03-28 14:23:38 +00:00
Troy D. Straszheim
ae88433250 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Steven Watanabe
d38f271fae Use order instead of size to find the next order in the non-typeof implementation of mpl::insert for mpl::map. Fixes #2042.
[SVN r55727]
2009-08-23 04:42:25 +00:00
Troy D. Straszheim
991277330b Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Eric Niebler
e1fa211c83 fix bug with signed char
[SVN r55146]
2009-07-24 17:22:50 +00:00
Steven Watanabe
e6024bc6f7 Call clear before checking for the existence of push_back
[SVN r54949]
2009-07-14 16:52:05 +00:00
Steven Watanabe
1ba6d35b4d Fix default implementation of has_push_back and has_push_front
[SVN r54948]
2009-07-14 16:49:45 +00:00
Eric Niebler
9708dbc454 add workaround for sun
[SVN r52542]
2009-04-22 16:36:18 +00:00
Eric Niebler
0ee68a2c76 mpl::string is a bidirectional sequence, not random access; c_str is a separate metafunction, not a class static
[SVN r52314]
2009-04-11 05:48:51 +00:00
Eric Niebler
a96b0e9924 add mpl::char_ and mpl::string, fixes #2905
[SVN r52208]
2009-04-06 06:00:57 +00:00
Michael A. Jackson
59b2f369d1 Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
74bdc378ea Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Aleksey Gurtovoy
a6c47df14c $Source$ -> $Id$
[SVN r49240]
2008-10-10 09:21:07 +00:00
Dave Abrahams
4f93f21dcc Merging some of the more obvious changes from RC_1_34_0
[SVN r40714]
2007-11-03 03:25:13 +00:00
Vladimir Prus
8509f491e9 Update to V2
[SVN r38528]
2007-08-08 19:38:27 +00:00
Vladimir Prus
925a4f4359 Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Aleksey Gurtovoy
b4048c1b75 'set' fixes + more thorough regression tests
[SVN r37335]
2007-04-02 07:42:41 +00:00
Aleksey Gurtovoy
f25c106dda Merge Borland 5.8.2 fixes from RC_1_34_0
[SVN r36117]
2006-11-20 18:02:17 +00:00