forked from boostorg/bind
Merge branch 'develop'
This commit is contained in:
22
.travis.yml
22
.travis.yml
@@ -244,25 +244,11 @@ install:
|
|||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost-root
|
- git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost-root
|
||||||
- cd boost-root
|
- cd boost-root
|
||||||
- git submodule init libs/align
|
- git submodule update --init tools/build
|
||||||
- git submodule init libs/assert
|
- git submodule update --init libs/config
|
||||||
- git submodule init libs/config
|
- git submodule update --init tools/boostdep
|
||||||
- git submodule init libs/core
|
|
||||||
- git submodule init libs/function
|
|
||||||
- git submodule init libs/integer
|
|
||||||
- git submodule init libs/move
|
|
||||||
- git submodule init libs/mpl
|
|
||||||
- git submodule init libs/predef
|
|
||||||
- git submodule init libs/preprocessor
|
|
||||||
- git submodule init libs/smart_ptr
|
|
||||||
- git submodule init libs/static_assert
|
|
||||||
- git submodule init libs/throw_exception
|
|
||||||
- git submodule init libs/type_index
|
|
||||||
- git submodule init libs/type_traits
|
|
||||||
- git submodule init tools/build
|
|
||||||
- git submodule init tools/inspect
|
|
||||||
- git submodule update
|
|
||||||
- cp -r $TRAVIS_BUILD_DIR/* libs/bind
|
- cp -r $TRAVIS_BUILD_DIR/* libs/bind
|
||||||
|
- python tools/boostdep/depinst/depinst.py bind
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- ./b2 headers
|
- ./b2 headers
|
||||||
|
|
||||||
|
22
appveyor.yml
22
appveyor.yml
@@ -15,25 +15,11 @@ install:
|
|||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
||||||
- cd boost-root
|
- cd boost-root
|
||||||
- git submodule init libs/align
|
- git submodule update --init tools/build
|
||||||
- git submodule init libs/assert
|
- git submodule update --init libs/config
|
||||||
- git submodule init libs/config
|
- git submodule update --init tools/boostdep
|
||||||
- git submodule init libs/core
|
|
||||||
- git submodule init libs/function
|
|
||||||
- git submodule init libs/integer
|
|
||||||
- git submodule init libs/move
|
|
||||||
- git submodule init libs/mpl
|
|
||||||
- git submodule init libs/predef
|
|
||||||
- git submodule init libs/preprocessor
|
|
||||||
- git submodule init libs/smart_ptr
|
|
||||||
- git submodule init libs/static_assert
|
|
||||||
- git submodule init libs/throw_exception
|
|
||||||
- git submodule init libs/type_index
|
|
||||||
- git submodule init libs/type_traits
|
|
||||||
- git submodule init tools/build
|
|
||||||
- git submodule init tools/inspect
|
|
||||||
- git submodule update
|
|
||||||
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\bind
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\bind
|
||||||
|
- python tools/boostdep/depinst/depinst.py bind
|
||||||
- bootstrap
|
- bootstrap
|
||||||
- b2 headers
|
- b2 headers
|
||||||
|
|
||||||
|
@@ -178,7 +178,7 @@ Example:
|
|||||||
The last two examples are interesting in that they produce "self-contained"
|
The last two examples are interesting in that they produce "self-contained"
|
||||||
function objects. `bind(&X::f, x, _1)` stores a copy of `x`.
|
function objects. `bind(&X::f, x, _1)` stores a copy of `x`.
|
||||||
`bind(&X::f, p, _1)` stores a copy of `p`, and since `p` is a
|
`bind(&X::f, p, _1)` stores a copy of `p`, and since `p` is a
|
||||||
[@boost:/libs/smart_ptr/shared_ptr.htm `boost::shared_ptr`], the function
|
[@boost:/libs/smart_ptr/doc/html/smart_ptr.html#shared_ptr `boost::shared_ptr`], the function
|
||||||
object retains a reference to its instance of `X` and will remain valid even
|
object retains a reference to its instance of `X` and will remain valid even
|
||||||
when `p` goes out of scope or is `reset()`.
|
when `p` goes out of scope or is `reset()`.
|
||||||
|
|
||||||
|
@@ -338,7 +338,7 @@
|
|||||||
stores a copy of <code class="computeroutput"><span class="identifier">x</span></code>. <code class="computeroutput"><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">X</span><span class="special">::</span><span class="identifier">f</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span>
|
stores a copy of <code class="computeroutput"><span class="identifier">x</span></code>. <code class="computeroutput"><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">X</span><span class="special">::</span><span class="identifier">f</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span>
|
||||||
<span class="identifier">_1</span><span class="special">)</span></code>
|
<span class="identifier">_1</span><span class="special">)</span></code>
|
||||||
stores a copy of <code class="computeroutput"><span class="identifier">p</span></code>, and since
|
stores a copy of <code class="computeroutput"><span class="identifier">p</span></code>, and since
|
||||||
<code class="computeroutput"><span class="identifier">p</span></code> is a <a href="../../../../libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>, the function object
|
<code class="computeroutput"><span class="identifier">p</span></code> is a <a href="../../../../libs/smart_ptr/doc/html/smart_ptr.html#shared_ptr" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>, the function object
|
||||||
retains a reference to its instance of <code class="computeroutput"><span class="identifier">X</span></code>
|
retains a reference to its instance of <code class="computeroutput"><span class="identifier">X</span></code>
|
||||||
and will remain valid even when <code class="computeroutput"><span class="identifier">p</span></code>
|
and will remain valid even when <code class="computeroutput"><span class="identifier">p</span></code>
|
||||||
goes out of scope or is <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code>.
|
goes out of scope or is <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code>.
|
||||||
@@ -1543,7 +1543,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: June 06, 2015 at 16:07:44 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: July 07, 2017 at 11:19:28 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@@ -543,7 +543,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: June 06, 2015 at 16:07:47 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: July 07, 2017 at 11:19:31 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
Reference in New Issue
Block a user