mirror of
https://github.com/boostorg/bind.git
synced 2026-04-18 15:38:38 +02:00
Compare commits
8 Commits
feature/te
...
boost-1.71
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6ac20c4fd | ||
|
|
4c263bff9e | ||
|
|
d051c452ea | ||
|
|
b0f3b3fbab | ||
|
|
be7a2d9212 | ||
|
|
c8973a7027 | ||
|
|
f52ef4b659 | ||
|
|
42fe00190e |
23
.travis.yml
23
.travis.yml
@@ -6,6 +6,8 @@ language: cpp
|
|||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@@ -116,6 +118,16 @@ matrix:
|
|||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: g++-9
|
||||||
|
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=03,11,14,17,2a
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-9
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang++
|
compiler: clang++
|
||||||
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11
|
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11
|
||||||
@@ -238,6 +250,17 @@ matrix:
|
|||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- llvm-toolchain-trusty-7
|
- llvm-toolchain-trusty-7
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
compiler: clang++-8
|
||||||
|
env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=03,11,14,17,2a
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- clang-8
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-trusty-8
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang++-libc++
|
compiler: clang++-libc++
|
||||||
env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z VARIANT=release
|
env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z VARIANT=release
|
||||||
|
|||||||
32
appveyor.yml
32
appveyor.yml
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016, 2017 Peter Dimov
|
# Copyright 2016-2019 Peter Dimov
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
@@ -14,13 +14,31 @@ branches:
|
|||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
|
||||||
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0
|
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
TOOLSET: msvc-14.0
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
TOOLSET: msvc-12.0,msvc-14.0
|
||||||
|
ADDRESS_MODEL: 32,64
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
TOOLSET: msvc-14.1
|
TOOLSET: msvc-14.1,clang-win
|
||||||
CXXSTD: 14,17
|
CXXSTD: 14,17
|
||||||
|
ADDRESS_MODEL: 32,64
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
ADDPATH: C:\cygwin\bin;
|
||||||
|
TOOLSET: gcc
|
||||||
|
CXXSTD: 03,11,14,1z
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
ADDPATH: C:\cygwin64\bin;
|
||||||
|
TOOLSET: gcc
|
||||||
|
CXXSTD: 03,11,14,1z
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
ADDPATH: C:\mingw\bin;
|
||||||
|
TOOLSET: gcc
|
||||||
|
CXXSTD: 03,11,14,1z
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;
|
||||||
|
TOOLSET: gcc
|
||||||
|
CXXSTD: 03,11,14,1z
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set BOOST_BRANCH=develop
|
- set BOOST_BRANCH=develop
|
||||||
@@ -37,5 +55,7 @@ install:
|
|||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
- PATH=%ADDPATH%%PATH%
|
||||||
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
||||||
- b2 -j 3 libs/bind/test toolset=%TOOLSET% %CXXSTD%
|
- if not "%ADDRESS_MODEL%" == "" set ADDRESS_MODEL=address-model=%ADDRESS_MODEL%
|
||||||
|
- b2 -j3 libs/bind/test toolset=%TOOLSET% %CXXSTD% %ADDRESS_MODEL% variant=debug,release
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
# http://www.boost.org/LICENSE_1_0.txt)
|
# http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
project doc/bind ;
|
|
||||||
|
|
||||||
import boostbook ;
|
import boostbook ;
|
||||||
import quickbook ;
|
import quickbook ;
|
||||||
|
|
||||||
|
|||||||
@@ -167,8 +167,8 @@ variable:
|
|||||||
[section Modeling STL function object concepts]
|
[section Modeling STL function object concepts]
|
||||||
|
|
||||||
The function objects that are produced by `bind` do not model the STL
|
The function objects that are produced by `bind` do not model the STL
|
||||||
[@http://www.sgi.com/tech/stl/UnaryFunction.html /Unary Function/] or
|
[@https://boost.org/sgi/stl/UnaryFunction.html /Unary Function/] or
|
||||||
[@http://www.sgi.com/tech/stl/BinaryFunction.html /Binary Function/] concepts,
|
[@https://boost.org/sgi/stl/BinaryFunction.html /Binary Function/] concepts,
|
||||||
even when the function objects are unary or binary operations, because the
|
even when the function objects are unary or binary operations, because the
|
||||||
function object types are missing public typedefs `result_type` and
|
function object types are missing public typedefs `result_type` and
|
||||||
`argument_type` or `first_argument_type` and `second_argument_type`. In cases
|
`argument_type` or `first_argument_type` and `second_argument_type`. In cases
|
||||||
|
|||||||
@@ -900,8 +900,8 @@
|
|||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<p>
|
<p>
|
||||||
The function objects that are produced by <code class="computeroutput"><span class="identifier">bind</span></code>
|
The function objects that are produced by <code class="computeroutput"><span class="identifier">bind</span></code>
|
||||||
do not model the STL <a href="http://www.sgi.com/tech/stl/UnaryFunction.html" target="_top"><span class="emphasis"><em>Unary
|
do not model the STL <a href="https://boost.org/sgi/stl/UnaryFunction.html" target="_top"><span class="emphasis"><em>Unary
|
||||||
Function</em></span></a> or <a href="http://www.sgi.com/tech/stl/BinaryFunction.html" target="_top"><span class="emphasis"><em>Binary
|
Function</em></span></a> or <a href="https://boost.org/sgi/stl/BinaryFunction.html" target="_top"><span class="emphasis"><em>Binary
|
||||||
Function</em></span></a> concepts, even when the function objects are
|
Function</em></span></a> concepts, even when the function objects are
|
||||||
unary or binary operations, because the function object types are missing
|
unary or binary operations, because the function object types are missing
|
||||||
public typedefs <code class="computeroutput"><span class="identifier">result_type</span></code>
|
public typedefs <code class="computeroutput"><span class="identifier">result_type</span></code>
|
||||||
|
|||||||
@@ -2136,7 +2136,7 @@ template<class F, class A1, class A2, class A3, class A4, class A5, class A6, cl
|
|||||||
#undef BOOST_BIND_ST
|
#undef BOOST_BIND_ST
|
||||||
#undef BOOST_BIND_NOEXCEPT
|
#undef BOOST_BIND_NOEXCEPT
|
||||||
|
|
||||||
#ifdef BOOST_BIND_ENABLE_STDCALL
|
#if defined(BOOST_BIND_ENABLE_STDCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_BIND_CC __stdcall
|
#define BOOST_BIND_CC __stdcall
|
||||||
#define BOOST_BIND_ST
|
#define BOOST_BIND_ST
|
||||||
@@ -2150,7 +2150,7 @@ template<class F, class A1, class A2, class A3, class A4, class A5, class A6, cl
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_BIND_ENABLE_FASTCALL
|
#if defined(BOOST_BIND_ENABLE_FASTCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_BIND_CC __fastcall
|
#define BOOST_BIND_CC __fastcall
|
||||||
#define BOOST_BIND_ST
|
#define BOOST_BIND_ST
|
||||||
@@ -2197,7 +2197,7 @@ template<class F, class A1, class A2, class A3, class A4, class A5, class A6, cl
|
|||||||
#undef BOOST_BIND_MF_CC
|
#undef BOOST_BIND_MF_CC
|
||||||
#undef BOOST_BIND_MF_NOEXCEPT
|
#undef BOOST_BIND_MF_NOEXCEPT
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_BIND_MF_NAME(X) X##_cdecl
|
#define BOOST_BIND_MF_NAME(X) X##_cdecl
|
||||||
#define BOOST_BIND_MF_CC __cdecl
|
#define BOOST_BIND_MF_CC __cdecl
|
||||||
@@ -2212,7 +2212,7 @@ template<class F, class A1, class A2, class A3, class A4, class A5, class A6, cl
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_STDCALL
|
#if defined(BOOST_MEM_FN_ENABLE_STDCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_BIND_MF_NAME(X) X##_stdcall
|
#define BOOST_BIND_MF_NAME(X) X##_stdcall
|
||||||
#define BOOST_BIND_MF_CC __stdcall
|
#define BOOST_BIND_MF_CC __stdcall
|
||||||
@@ -2227,7 +2227,7 @@ template<class F, class A1, class A2, class A3, class A4, class A5, class A6, cl
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_FASTCALL
|
#if defined(BOOST_MEM_FN_ENABLE_FASTCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_BIND_MF_NAME(X) X##_fastcall
|
#define BOOST_BIND_MF_NAME(X) X##_fastcall
|
||||||
#define BOOST_BIND_MF_CC __fastcall
|
#define BOOST_BIND_MF_CC __fastcall
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ template<class V> struct mf
|
|||||||
#undef BOOST_MEM_FN_CC
|
#undef BOOST_MEM_FN_CC
|
||||||
#undef BOOST_MEM_FN_NAME
|
#undef BOOST_MEM_FN_NAME
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) inner_##X##_cdecl
|
#define BOOST_MEM_FN_NAME(X) inner_##X##_cdecl
|
||||||
#define BOOST_MEM_FN_CC __cdecl
|
#define BOOST_MEM_FN_CC __cdecl
|
||||||
@@ -61,7 +61,7 @@ template<class V> struct mf
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_STDCALL
|
#if defined(BOOST_MEM_FN_ENABLE_STDCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) inner_##X##_stdcall
|
#define BOOST_MEM_FN_NAME(X) inner_##X##_stdcall
|
||||||
#define BOOST_MEM_FN_CC __stdcall
|
#define BOOST_MEM_FN_CC __stdcall
|
||||||
@@ -73,7 +73,7 @@ template<class V> struct mf
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_FASTCALL
|
#if defined(BOOST_MEM_FN_ENABLE_FASTCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) inner_##X##_fastcall
|
#define BOOST_MEM_FN_NAME(X) inner_##X##_fastcall
|
||||||
#define BOOST_MEM_FN_CC __fastcall
|
#define BOOST_MEM_FN_CC __fastcall
|
||||||
@@ -102,7 +102,7 @@ template<> struct mf<void>
|
|||||||
#undef BOOST_MEM_FN_CC
|
#undef BOOST_MEM_FN_CC
|
||||||
#undef BOOST_MEM_FN_NAME
|
#undef BOOST_MEM_FN_NAME
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) inner_##X##_cdecl
|
#define BOOST_MEM_FN_NAME(X) inner_##X##_cdecl
|
||||||
#define BOOST_MEM_FN_CC __cdecl
|
#define BOOST_MEM_FN_CC __cdecl
|
||||||
@@ -155,7 +155,7 @@ template<> struct mf<void>
|
|||||||
#undef BOOST_MEM_FN_NAME2
|
#undef BOOST_MEM_FN_NAME2
|
||||||
#undef BOOST_MEM_FN_CC
|
#undef BOOST_MEM_FN_CC
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
||||||
#define BOOST_MEM_FN_NAME2(X) inner_##X##_cdecl
|
#define BOOST_MEM_FN_NAME2(X) inner_##X##_cdecl
|
||||||
@@ -217,7 +217,7 @@ namespace _mfi
|
|||||||
#undef BOOST_MEM_FN_CC
|
#undef BOOST_MEM_FN_CC
|
||||||
#undef BOOST_MEM_FN_NAME
|
#undef BOOST_MEM_FN_NAME
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
||||||
#define BOOST_MEM_FN_CC __cdecl
|
#define BOOST_MEM_FN_CC __cdecl
|
||||||
@@ -229,7 +229,7 @@ namespace _mfi
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_STDCALL
|
#if defined(BOOST_MEM_FN_ENABLE_STDCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_stdcall
|
#define BOOST_MEM_FN_NAME(X) X##_stdcall
|
||||||
#define BOOST_MEM_FN_CC __stdcall
|
#define BOOST_MEM_FN_CC __stdcall
|
||||||
@@ -241,7 +241,7 @@ namespace _mfi
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_FASTCALL
|
#if defined(BOOST_MEM_FN_ENABLE_FASTCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_fastcall
|
#define BOOST_MEM_FN_NAME(X) X##_fastcall
|
||||||
#define BOOST_MEM_FN_CC __fastcall
|
#define BOOST_MEM_FN_CC __fastcall
|
||||||
@@ -270,7 +270,7 @@ namespace _mfi
|
|||||||
#undef BOOST_MEM_FN_NAME
|
#undef BOOST_MEM_FN_NAME
|
||||||
#undef BOOST_MEM_FN_CC
|
#undef BOOST_MEM_FN_CC
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_CDECL
|
#if defined(BOOST_MEM_FN_ENABLE_CDECL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
#define BOOST_MEM_FN_NAME(X) X##_cdecl
|
||||||
#define BOOST_MEM_FN_CC __cdecl
|
#define BOOST_MEM_FN_CC __cdecl
|
||||||
@@ -282,7 +282,7 @@ namespace _mfi
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_STDCALL
|
#if defined(BOOST_MEM_FN_ENABLE_STDCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_stdcall
|
#define BOOST_MEM_FN_NAME(X) X##_stdcall
|
||||||
#define BOOST_MEM_FN_CC __stdcall
|
#define BOOST_MEM_FN_CC __stdcall
|
||||||
@@ -294,7 +294,7 @@ namespace _mfi
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MEM_FN_ENABLE_FASTCALL
|
#if defined(BOOST_MEM_FN_ENABLE_FASTCALL) && !defined(_M_X64)
|
||||||
|
|
||||||
#define BOOST_MEM_FN_NAME(X) X##_fastcall
|
#define BOOST_MEM_FN_NAME(X) X##_fastcall
|
||||||
#define BOOST_MEM_FN_CC __fastcall
|
#define BOOST_MEM_FN_CC __fastcall
|
||||||
|
|||||||
Reference in New Issue
Block a user