663 Commits

Author SHA1 Message Date
Andrey Semashev
63104db02c Added a missing include in test. 2021-03-17 11:55:40 +03:00
Andrey Semashev
8f1405b880 Converted clang APT references to source lines for Tranis CI.
APT references are not consistently defined for all clang versions
on all Ubuntu instances, so just always use explicit APT source lines.
2021-03-17 11:55:40 +03:00
Andrey Semashev
c397e90107 Fixed a typo in AppVeyor CI config. 2021-03-17 02:58:33 +03:00
Andrey Semashev
b3ed2d1bcf CI updates: new compilers, git checkout and job running optimizations. 2021-03-17 02:51:46 +03:00
Andrey Semashev
3eada7d595 Added README.md. 2021-03-17 01:53:38 +03:00
Andrey Semashev
9f0b903f88 Corrected typos and added a reference to PR for MSVC 2015 workaround. 2021-03-14 14:10:23 +03:00
Andrey Semashev
187377089a Merge pull request #109 from OBorce/fix-msvc2015-default_r_
Fix default_r_ move constructor on MSVC 2015
2021-03-14 14:06:02 +03:00
Boris Oncev
983bf6bebc Fix default_r_ move constructor on MSVC 2015
MSVC 2015 misscompiles moves for classes containing RValue refs
using the default generated move constructor when moving into a
function.

Example of reproduction:

struct RValueHolder {
  std::string&& str;
};

bool buggy_move(RValueHolder dead) {
  // here str is not referencing the string any more
  return dead.str == "p";
}

TEST(Bug, TmpBug) {
  std::string p = "p";
  auto t = RValueHolder{ std::move(p) };
  auto res = buggy_move(std::move(t));
  EXPECT_TRUE(res);
}

Fixes boostorg/log#132
2021-03-14 09:20:36 +00:00
Edward Diener
e16f1025d7 Merge pull request #107 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-21 02:01:06 -05:00
Edward Diener
7d168437b7 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-20 23:57:10 -05:00
Glen Fernandes
d59eb4aadd Merge branch 'develop' boost-1.76.0.beta1 boost-1.75.0.beta1 boost-1.75.0 2020-09-05 13:51:56 -04:00
Edward Diener
9fc61ba8ff Merge pull request #103 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost conf…
2020-08-14 23:49:25 -04:00
Edward Diener
fb1a25471c Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-31 14:17:56 -04:00
Glen Fernandes
59306fe2ed Merge pull request #99 from Lastique/fix_arg_with_default_rvalue
Fix argument value selection with an rvalue default
2020-03-23 11:07:24 -04:00
Andrey Semashev
201a7e20d0 Fix argument value selection with an rvalue default.
In C++11 mode, when named parameter pack was a single tagged argument,
parameter value was not extracted when an rvalue default value was
provided by the user (instead, the default value was returned). This
commit adds a missing overload for default_r_, which returns the parameter
value.

Fixes https://github.com/boostorg/parameter/issues/97.
2020-03-15 18:20:34 +03:00
Glen Fernandes
c31433af1f Merge branch 'develop' boost-1.74.0.beta1 boost-1.74.0 boost-1.73.0.beta1 boost-1.73.0 2019-12-21 15:09:35 -05:00
Glen Fernandes
0f548424a5 BOOST_PARAMETER_ prefix include guard macros 2019-12-18 08:45:43 -05:00
Cromwell D. Enage
ba78e65f93 Merge 'develop' to 'master' boost-1.72.0 boost-1.72.0.beta1 2019-10-09 05:45:12 -04:00
Cromwell D. Enage
5a2328751a Reinstate documentation with corrections 2019-10-09 05:41:21 -04:00
CromwellEnage
e80fba3fd9 Reinstate documentation with corrections 2019-10-09 05:39:39 -04:00
Cromwell D. Enage
0d482ed0cf Merge with boostorg/parameter 2019-09-02 17:21:15 -04:00
Cromwell D. Enage
1baff677d5 Temporarily remove broken documentation source files.
Temporarily disable document autogeneration.
2019-08-08 22:00:01 -04:00
CromwellEnage
a028278ec5 Temporarily disable document autogeneration 2019-08-08 19:19:42 -04:00
CromwellEnage
3d430b22be Temporarily remove broken documentation source files. 2019-08-07 23:18:32 -04:00
Cromwell D. Enage
c2f24094f1 Merge 'develop' to 'master' boost-1.71.0.beta1 boost-1.71.0 2019-06-28 20:32:25 -04:00
Cromwell D. Enage
a6024c0ec7 Merge with boostorg/parameter 2019-06-28 17:35:49 -04:00
Cromwell D. Enage
6037aee098 Merge pull request #87 from CromwellEnage/fix_issues
Remove unnecessary BOOST_CONSTEXPR occurrences
2019-06-28 17:25:42 -04:00
CromwellEnage
2d7414f095 Remove unnecessary BOOST_CONSTEXPR occurrences
Fix Issue #86.
2019-06-28 05:55:16 -04:00
Cromwell D. Enage
a0ed362e76 Merge 'develop' to 'master' 2019-06-20 23:03:43 -04:00
Cromwell D. Enage
015aff617b Merge with boostorg/parameter 2019-06-20 17:45:26 -04:00
Cromwell D. Enage
e2d589dec7 Upgrade .travis.yml
* Add clang++-6.0 with cxxstd=2a for linux, clang++-7 for linux, and clang++-8 for linux to test matrix.
* Change sources to adapt to change in Travis Cl test environment from "trusty" to "xenial".
2019-06-20 16:23:46 -04:00
CromwellEnage
f933d797fe Upgrade .travis.yml
* Add clang++-6.0 with cxxstd=2a for linux, clang++-7 for linux, and clang++-8 for linux to test matrix.
* Change sources to adapt to change in Travis Cl test environment from "trusty" to "xenial".
2019-06-19 20:54:20 -04:00
Cromwell D. Enage
979d8091ad Merge with boostorg/parameter 2019-04-30 08:56:27 -04:00
Cromwell D. Enage
75e9295748 Merge pull request #76 from Mike-Devel/min_cmake
Add minimal cmake support
2019-04-30 08:54:02 -04:00
Cromwell D. Enage
dc6cb9a2fd Merge pull request #82 from boostorg/develop
Merge 'develop' to 'master'
2019-04-30 08:34:43 -04:00
Cromwell D. Enage
c28195f464 Merge with boostorg/parameter 2019-04-29 23:54:59 -04:00
Cromwell D. Enage
3876bdf4b2 Merge pull request #81 from CromwellEnage/fix_regressions
Fix compiler errors for MSVC-14.2
2019-04-29 23:51:13 -04:00
CromwellEnage
0bb3ba54da Fix compiler errors for MSVC-14.2 2019-04-29 18:07:43 -04:00
Cromwell D. Enage
8f2cd502bf Merge pull request #77 from boostorg/develop
Merge 'develop' changes
2019-04-28 00:16:18 -04:00
Cromwell D. Enage
914b0a32c8 Merge with boostorg/parameter 2019-04-27 17:50:04 -04:00
Cromwell D. Enage
0ba17c2e2a Merge pull request #79 from CromwellEnage/doc_reference
Add missing reference documentation for lazy_value_type
2019-04-27 17:46:44 -04:00
CromwellEnage
e3849687e4 Add missing reference documentation for lazy_value_type 2019-04-27 16:24:26 -04:00
Cromwell D. Enage
e24f86a7fa Merge with boostorg/parameter 2019-04-27 16:23:15 -04:00
Cromwell D. Enage
384cd299ec Merge pull request #78 from CromwellEnage/update_scripts
Update appveyor.yml to handle changes in Boost.Build
2019-04-27 16:21:57 -04:00
CromwellEnage
241be29095 Update appveyor.yml to handle changes in Boost.Build 2019-04-27 14:45:20 -04:00
Cromwell D. Enage
309dd7e1c1 Merge with boostorg/parameter 2019-04-27 14:44:00 -04:00
Cromwell D. Enage
dbf4dd24f5 Merge pull request #75 from CromwellEnage/feature_compose
Add metafunction result_of::compose
2019-04-27 07:57:48 -04:00
Cromwell D. Enage
6509aa3bad Merge pull request #74 from CromwellEnage/update_config
Set BOOST_PARAMETER_COMPOSE_MAX_ARITY to 20 for GCC 5-
2019-04-27 07:57:11 -04:00
Mike Dev
3ced1d1ac8 [CMake] Remove unnecessary dependency for test 2019-04-15 17:12:12 +02:00
Mike Dev
5e80ac9882 [CMake] Fix whitespace 2019-04-15 12:36:31 +02:00