mirror of
https://github.com/boostorg/lambda.git
synced 2026-03-05 02:52:23 +00:00
Compare commits
13 Commits
boost-1.65
...
boost-1.74
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8824e81d52 | ||
|
|
6395013860 | ||
|
|
8c0410fff5 | ||
|
|
b8a2f400ac | ||
|
|
4fc4454f3e | ||
|
|
02999cca47 | ||
|
|
e8eda93ef0 | ||
|
|
9d171774af | ||
|
|
f4b5e00a4f | ||
|
|
42b499ec9b | ||
|
|
61119a8e37 | ||
|
|
4b00716f5f | ||
|
|
4baf512ed2 |
40
.travis.yml
Normal file
40
.travis.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 2016 Edward Diener
|
||||||
|
# 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)
|
||||||
|
|
||||||
|
language: cpp
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
python: "2.7"
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
|
install:
|
||||||
|
- cd ..
|
||||||
|
- git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||||
|
- cd boost-root
|
||||||
|
- git submodule update --init tools/build
|
||||||
|
- git submodule update --init libs/config
|
||||||
|
- git submodule update --init tools/boostdep
|
||||||
|
- cp -r $TRAVIS_BUILD_DIR/* libs/lambda
|
||||||
|
- python tools/boostdep/depinst/depinst.py lambda
|
||||||
|
- ./bootstrap.sh
|
||||||
|
- ./b2 headers
|
||||||
|
|
||||||
|
script:
|
||||||
|
- TOOLSET=gcc,clang
|
||||||
|
- if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi
|
||||||
|
- ./b2 --verbose-test libs/config/test//config_info toolset=$TOOLSET || true
|
||||||
|
- ./b2 libs/lambda/test toolset=$TOOLSET
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
on_success: always
|
||||||
36
appveyor.yml
Normal file
36
appveyor.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2017 Edward Diener
|
||||||
|
# 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)
|
||||||
|
|
||||||
|
version: 1.0.{build}-{branch}
|
||||||
|
|
||||||
|
shallow_clone: true
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0,msvc-14.0
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
TOOLSET: msvc-14.1
|
||||||
|
|
||||||
|
install:
|
||||||
|
- cd ..
|
||||||
|
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
||||||
|
- cd boost-root
|
||||||
|
- git submodule update --init tools/build
|
||||||
|
- git submodule update --init libs/config
|
||||||
|
- git submodule update --init tools/boostdep
|
||||||
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\lambda
|
||||||
|
- python tools/boostdep/depinst/depinst.py lambda
|
||||||
|
- bootstrap
|
||||||
|
- b2 headers
|
||||||
|
|
||||||
|
build: off
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- b2 libs/lambda/test toolset=%TOOLSET%
|
||||||
0
doc/detail/lambda_doc.xml
Executable file → Normal file
0
doc/detail/lambda_doc.xml
Executable file → Normal file
@@ -684,6 +684,8 @@ struct rotate_copy {
|
|||||||
|
|
||||||
// random_shuffle ---------------------------------
|
// random_shuffle ---------------------------------
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_CXX98_RANDOM_SHUFFLE
|
||||||
|
|
||||||
struct random_shuffle {
|
struct random_shuffle {
|
||||||
|
|
||||||
template <class Args>
|
template <class Args>
|
||||||
@@ -703,6 +705,7 @@ struct random_shuffle {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// partition ---------------------------------
|
// partition ---------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#ifndef BOOST_LAMBDA_CORE_HPP
|
#ifndef BOOST_LAMBDA_CORE_HPP
|
||||||
#define BOOST_LAMBDA_CORE_HPP
|
#define BOOST_LAMBDA_CORE_HPP
|
||||||
|
|
||||||
|
#include "boost/config.hpp"
|
||||||
|
|
||||||
#include "boost/type_traits/transform_traits.hpp"
|
#include "boost/type_traits/transform_traits.hpp"
|
||||||
#include "boost/type_traits/cv_traits.hpp"
|
#include "boost/type_traits/cv_traits.hpp"
|
||||||
|
|
||||||
@@ -66,9 +68,9 @@ namespace {
|
|||||||
boost::lambda::placeholder2_type free2 = boost::lambda::placeholder2_type();
|
boost::lambda::placeholder2_type free2 = boost::lambda::placeholder2_type();
|
||||||
boost::lambda::placeholder3_type free3 = boost::lambda::placeholder3_type();
|
boost::lambda::placeholder3_type free3 = boost::lambda::placeholder3_type();
|
||||||
|
|
||||||
boost::lambda::placeholder1_type& _1 = free1;
|
boost::lambda::placeholder1_type& BOOST_ATTRIBUTE_UNUSED _1 = free1;
|
||||||
boost::lambda::placeholder2_type& _2 = free2;
|
boost::lambda::placeholder2_type& BOOST_ATTRIBUTE_UNUSED _2 = free2;
|
||||||
boost::lambda::placeholder3_type& _3 = free3;
|
boost::lambda::placeholder3_type& BOOST_ATTRIBUTE_UNUSED _3 = free3;
|
||||||
// _1, _2, ... naming scheme by Peter Dimov
|
// _1, _2, ... naming scheme by Peter Dimov
|
||||||
} // unnamed
|
} // unnamed
|
||||||
|
|
||||||
|
|||||||
0
test/Makefile
Executable file → Normal file
0
test/Makefile
Executable file → Normal file
Reference in New Issue
Block a user