diff --git a/.appveyor.yml b/.appveyor.yml index 159696ef58..6752af7bfe 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -42,9 +42,10 @@ install: ############################################################################ # Install a recent CMake ############################################################################ - - set CMAKE_URL="https://cmake.org/files/v3.4/cmake-3.4.0-win32-x86.zip" + - set CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.zip" - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip - - 7z x cmake.zip -oC:\projects\deps\cmake > nul + - 7z x cmake.zip -oC:\projects\deps > nul + - move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory - set PATH=C:\projects\deps\cmake\bin;%PATH% - cmake --version diff --git a/.travis.yml b/.travis.yml index 3cebc563ea..3009daf25c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -42,6 +42,7 @@ cache: - ${TRAVIS_BUILD_DIR}/deps/boost-1.60.0 - ${TRAVIS_BUILD_DIR}/deps/boost-1.61.0 - ${TRAVIS_BUILD_DIR}/deps/boost-1.62.0 + - ${TRAVIS_BUILD_DIR}/deps/boost-1.63.0 matrix: @@ -64,31 +65,31 @@ matrix: ########################################################################## # Clang 3.5 # TODO: Find out why this fails to compile the test suite. - # - env: UNIT_TESTS=true LLVM_VERSION=3.5.2 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + # - env: UNIT_TESTS=true LLVM_VERSION=3.5.2 BOOST_VERSION=default ENABLE_MEMCHECK=true # Clang 3.6 - os: linux - env: UNIT_TESTS=true LLVM_VERSION=3.6.2 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + env: UNIT_TESTS=true LLVM_VERSION=3.6.2 BOOST_VERSION=default ENABLE_MEMCHECK=true compiler: clang # Clang 3.7 - os: linux - env: UNIT_TESTS=true LLVM_VERSION=3.7.1 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + env: UNIT_TESTS=true LLVM_VERSION=3.7.1 BOOST_VERSION=default ENABLE_MEMCHECK=true compiler: clang # Clang 3.8 - os: linux - env: UNIT_TESTS=true LLVM_VERSION=3.8.0 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + env: UNIT_TESTS=true LLVM_VERSION=3.8.0 BOOST_VERSION=default ENABLE_MEMCHECK=true compiler: clang # Clang 3.9 - os: linux - env: UNIT_TESTS=true LLVM_VERSION=3.9.0 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + env: UNIT_TESTS=true LLVM_VERSION=3.9.0 BOOST_VERSION=default ENABLE_MEMCHECK=true compiler: clang # GCC 6 - os: linux - env: UNIT_TESTS=true COMPILER=g++-6 BOOST_VERSION=default CMAKE_OPTIONS="-DBOOST_HANA_ENABLE_MEMCHECK=ON" + env: UNIT_TESTS=true COMPILER=g++-6 BOOST_VERSION=default ENABLE_MEMCHECK=true compiler: gcc # Xcode 6.4 @@ -144,6 +145,11 @@ matrix: env: UNIT_TESTS=true LLVM_VERSION=default BOOST_VERSION=1.61.0 compiler: clang + # With Boost 1.62 + - os: linux + env: UNIT_TESTS=true LLVM_VERSION=default BOOST_VERSION=1.62.0 + compiler: clang + # Without Boost (make sure we don't depend on it) - os: linux env: UNIT_TESTS=true LLVM_VERSION=default @@ -210,7 +216,7 @@ install: # Setup default versions and override compiler if needed ############################################################################ - if [[ "${LLVM_VERSION}" == "default" ]]; then LLVM_VERSION=3.9.0; fi - - if [[ "${BOOST_VERSION}" == "default" ]]; then BOOST_VERSION=1.62.0; fi + - if [[ "${BOOST_VERSION}" == "default" ]]; then BOOST_VERSION=1.63.0; fi - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi @@ -237,16 +243,18 @@ install: fi ############################################################################ - # Install a recent CMake (unless already installed on OS X) + # Install a recent CMake ############################################################################ - | if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then - CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz" + CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake export PATH=${DEPS_DIR}/cmake/bin:${PATH} else - if ! brew ls --version cmake &>/dev/null; then brew install cmake; fi + brew install cmake + brew upgrade cmake fi + - cmake --version ############################################################################ # Install Boost.Build @@ -284,6 +292,7 @@ install: export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${LLVM_DIR}/install/lib" export PATH="${LLVM_DIR}/clang/bin:${PATH}" fi + - ${CXX} --version ############################################################################ # Install a recent Doxygen @@ -293,6 +302,7 @@ install: DOXYGEN_URL="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.11.linux.bin.tar.gz" mkdir doxygen && travis_retry wget --quiet -O - ${DOXYGEN_URL} | tar --strip-components=1 -xz -C doxygen export PATH=${DEPS_DIR}/doxygen/bin:${PATH} + doxygen --version fi ############################################################################ @@ -312,13 +322,13 @@ before_script: # Set the git identity (for pushing the documentation and the benchmarks) ############################################################################ - git config --global user.name "Travis bot" - - git config --global user.email "ldionne.2@gmail.com" + - git config --global user.email "<>" ############################################################################ # Go back to the root of the project and setup the build directory ############################################################################ - cd ${TRAVIS_BUILD_DIR} - - (mkdir build && cd build && cmake .. -DBOOST_HANA_ENABLE_WERROR=ON ${CMAKE_OPTIONS}) + - (mkdir build && cd build && cmake .. ${CMAKE_OPTIONS}) script: @@ -329,7 +339,7 @@ script: if [[ "${CHECK_FORMATTING}" == "true" ]]; then # Find non-ASCII characters in headers hpps=$(find include doc -name \*\.hpp) - cpps=$(find test example experimental -name \*\.cpp) + cpps=$(find test example -name \*\.cpp) pcregrep --color='auto' -n "[\x80-\xFF]" ${hpps} ${cpps} if [[ $? -ne 1 ]]; then exit 1; fi @@ -356,7 +366,7 @@ script: pushd doc/html git add --all . - git commit --allow-empty -m "Update to ${TRAVIS_COMMIT:0:7}" + git commit --allow-empty -m "Update documentation to ${TRAVIS_COMMIT:0:7}" # Suppress output to avoid leaking the token travis_retry git push origin gh-pages &>/dev/null popd @@ -367,6 +377,7 @@ script: if [[ "${DOCUMENTATION}" == "true" && "${BOOST_BUILD}" == "true" ]]; then touch Jamroot (cd doc && b2) + if [[ ! -d doc/html ]]; then exit 1; fi fi ############################################################################ @@ -409,8 +420,12 @@ script: ############################################################################ - | if [[ "${UNIT_TESTS}" == "true" && "${BOOST_BUILD}" != "true" ]]; then - export CTEST_PARALLEL_LEVEL=2 # Run unit tests on two cores - (cd build && make check -j2 -k) + (cd build && make tests examples -j2 -k) && + if [[ "${ENABLE_MEMCHECK}" == "true" ]]; then + (cd build && ctest --output-on-failure -j2 -D ExperimentalMemCheck) + else + (cd build && ctest --output-on-failure -j2) + fi fi - | diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d452790bb..e62d80c044 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.7) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") @@ -33,12 +33,23 @@ include(CheckCxxCompilerSupport) add_library(hana INTERFACE) target_include_directories(hana INTERFACE include) +include(CheckCXXCompilerFlag) +# On Clang for Windows, -std=c++14 is not known, but -std=c++1y appears to work. +if (MSVC AND ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") + check_cxx_compiler_flag(-std=c++1y BOOST_HANA_HAS_STD_CPP1Y) + if (BOOST_HANA_HAS_STD_CPP1Y) + target_add_compile_options(hana INTERFACE -std=c++1y) + endif() +else() + # TODO: Set these as interface properties when supported + set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD_REQUIRED YES) +endif() + ############################################################################## # Setup CMake options ############################################################################## -option(BOOST_HANA_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF) -option(BOOST_HANA_ENABLE_MEMCHECK "Run the unit tests and examples under Valgrind if it is found." OFF) option(BOOST_HANA_ENABLE_CONCEPT_CHECKS "Enable concept checking in the interface methods." ON) option(BOOST_HANA_ENABLE_DEBUG_MODE "Enable Hana's debug mode." OFF) @@ -53,55 +64,49 @@ option(BOOST_HANA_ENABLE_EXCEPTIONS ############################################################################## -# Setup compiler flags (more can be set on a per-target basis or in subdirectories) +# Function to setup common compiler flags on tests and examples ############################################################################## -include(CheckCXXCompilerFlag) -macro(boost_hana_append_flag testname flag) - check_cxx_compiler_flag(${flag} ${testname}) - if (${testname}) - add_compile_options(${flag}) - endif() -endmacro() +function(boost_hana_set_test_properties target) + target_link_libraries(${target} PRIVATE hana) + set_target_properties(${target} PROPERTIES CXX_EXTENSIONS NO) -# Compiler flags controlled by CMake options above -if (BOOST_HANA_ENABLE_WERROR) - boost_hana_append_flag(BOOST_HANA_HAS_WERROR -Werror) - boost_hana_append_flag(BOOST_HANA_HAS_WX -WX) -endif() + macro(setflag testname flag) + check_cxx_compiler_flag(${flag} ${testname}) + if (${testname}) + target_compile_options(${target} PRIVATE ${flag}) + endif() + endmacro() -if (NOT BOOST_HANA_ENABLE_CONCEPT_CHECKS) - add_definitions(-DBOOST_HANA_CONFIG_DISABLE_CONCEPT_CHECKS) -endif() + setflag(BOOST_HANA_HAS_FDIAGNOSTICS_COLOR -fdiagnostics-color) + setflag(BOOST_HANA_HAS_FTEMPLATE_BACKTRACE_LIMIT -ftemplate-backtrace-limit=0) + setflag(BOOST_HANA_HAS_PEDANTIC -pedantic) + setflag(BOOST_HANA_HAS_WALL -Wall) + setflag(BOOST_HANA_HAS_WERROR -Werror) + setflag(BOOST_HANA_HAS_WEXTRA -Wextra) + setflag(BOOST_HANA_HAS_WNO_UNUSED_LOCAL_TYPEDEFS -Wno-unused-local-typedefs) + setflag(BOOST_HANA_HAS_WWRITE_STRINGS -Wwrite-strings) -if (BOOST_HANA_ENABLE_DEBUG_MODE) - add_definitions(-DBOOST_HANA_CONFIG_ENABLE_DEBUG_MODE) -endif() + if (NOT BOOST_HANA_ENABLE_EXCEPTIONS) + setflag(BOOST_HANA_HAS_FNO_EXCEPTIONS -fno-exceptions) + endif() -if (BOOST_HANA_ENABLE_STRING_UDL) - add_definitions(-DBOOST_HANA_CONFIG_ENABLE_STRING_UDL) - # GCC pretends to have the flag, but produces a "unrecognized command line option" - # warning when we use it. - if (NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") - boost_hana_append_flag(BOOST_HANA_HAS_WNO_GNU_STRING_UDL - -Wno-gnu-string-literal-operator-template) + if (NOT BOOST_HANA_ENABLE_CONCEPT_CHECKS) + target_compile_definitions(${target} PRIVATE -DBOOST_HANA_CONFIG_DISABLE_CONCEPT_CHECKS) endif() -endif() -if (NOT BOOST_HANA_ENABLE_EXCEPTIONS) - boost_hana_append_flag(BOOST_HANA_HAS_FNO_EXCEPTIONS -fno-exceptions) -endif() + if (BOOST_HANA_ENABLE_DEBUG_MODE) + target_compile_definitions(${target} PRIVATE -DBOOST_HANA_CONFIG_ENABLE_DEBUG_MODE) + endif() -# Other compiler flags -boost_hana_append_flag(BOOST_HANA_HAS_FDIAGNOSTICS_COLOR -fdiagnostics-color) -boost_hana_append_flag(BOOST_HANA_HAS_FTEMPLATE_BACKTRACE_LIMIT -ftemplate-backtrace-limit=0) -boost_hana_append_flag(BOOST_HANA_HAS_PEDANTIC -pedantic) -boost_hana_append_flag(BOOST_HANA_HAS_STDCXX1Y -std=c++1y) -boost_hana_append_flag(BOOST_HANA_HAS_QUNUSED_ARGUMENTS -Qunused-arguments) -boost_hana_append_flag(BOOST_HANA_HAS_W -W) -boost_hana_append_flag(BOOST_HANA_HAS_WALL -Wall) -boost_hana_append_flag(BOOST_HANA_HAS_WEXTRA -Wextra) -boost_hana_append_flag(BOOST_HANA_HAS_WNO_UNUSED_LOCAL_TYPEDEFS -Wno-unused-local-typedefs) -boost_hana_append_flag(BOOST_HANA_HAS_WWRITE_STRINGS -Wwrite-strings) + if (BOOST_HANA_ENABLE_STRING_UDL) + target_compile_definitions(${target} PRIVATE -DBOOST_HANA_CONFIG_ENABLE_STRING_UDL) + # GCC pretends to have the flag, but produces a "unrecognized command line option" + # warning when we use it. + if (NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") + setflag(BOOST_HANA_HAS_WNO_GNU_STRING_UDL -Wno-gnu-string-literal-operator-template) + endif() + endif() +endfunction() ############################################################################## @@ -143,22 +148,6 @@ function(boost_hana_target_name_for out file) set(${out} "${_name}" PARENT_SCOPE) endfunction() -# boost_hana_add_test( [...]) -# -# Creates a test called `name`, which runs the given `command` with the given -# `arg`uments. However, if `BOOST_HANA_ENABLE_MEMCHECK` is set to `ON`, the -# test will run the provided command under the memory checker. -if (BOOST_HANA_ENABLE_MEMCHECK) - find_package(Valgrind REQUIRED) - function(boost_hana_add_test name) - add_test(${name} ${Valgrind_EXECUTABLE} --leak-check=full --error-exitcode=1 ${ARGN}) - endfunction() -else() - function(boost_hana_add_test name) - add_test(${name} ${ARGN}) - endfunction() -endif() - ############################################################################## # Setup the `check` target to build and then run all the tests and examples. @@ -170,13 +159,21 @@ add_custom_target(check ############################################################################## -# Setup subdirectories +# Setup subdirectories and testing ############################################################################## enable_testing() +find_program(MEMORYCHECK_COMMAND valgrind) +if (MEMORYCHECK_COMMAND) + message(STATUS "Found Valgrind: ${MEMORYCHECK_COMMAND}") + set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --error-exitcode=1") +else() + message("Valgrind not found") +endif() +include(CTest) + add_subdirectory(benchmark) add_subdirectory(doc) add_subdirectory(example) -add_subdirectory(experimental) add_subdirectory(test) diff --git a/LICENSE.md b/LICENSE.md index bb0263d461..8639127154 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright 2013-2016 Louis Dionne +Copyright Louis Dionne 2013-2017 Boost Software License - Version 1.0 - August 17th, 2003 diff --git a/README.md b/README.md index a61ebddbf1..f0531ebe3f 100644 --- a/README.md +++ b/README.md @@ -57,15 +57,20 @@ int main() { ## Documentation You can browse the documentation online at http://boostorg.github.io/hana. -You can also get an offline version of the documentation by checking out -the `gh-pages` branch. To avoid overwriting the current directory, you -can clone the `gh-pages` branch into a subdirectory like `doc/html`: +The documentation covers everything you should need including installing the +library, a tutorial explaining what Hana is and how to use it, and an extensive +reference section with examples. The remainder of this README is mostly for +people that wish to work on the library itself, not for its users. + +An offline copy of the documentation can be obtained by checking out the +`gh-pages` branch. To avoid overwriting the current directory, you can clone +the `gh-pages` branch into a subdirectory like `doc/html`: ```shell git clone http://github.com/boostorg/hana --branch=gh-pages --depth=1 doc/html ``` After issuing this, `doc/html` will contain exactly the same static website -that's [available online][Hana.docs]. Note that `doc/html` is automatically +that is [available online][Hana.docs]. Note that `doc/html` is automatically ignored by Git so updating the documentation won't pollute your index. @@ -152,25 +157,11 @@ The project is organized in a couple of subdirectories. cloning the `gh-pages` branch into that directory, as explained above. - The [example](example) directory contains the source code for all the examples of both the tutorial and the reference documentation. -- The [experimental](experimental) directory contains various experiments that - might or might not make it into Hana at some point. - The [include](include) directory contains the library itself, which is header only. - The [test](test) directory contains the source code for all the unit tests. -## Related material -- Talk on metaprogramming and Hana at [CppCon][] 2015 ([slides](http://ldionne.com/hana-cppcon-2015)/[video](https://youtu.be/cg1wOINjV9U)) -- Talk on metaprogramming and Hana at [C++Now][] 2015 ([slides](http://ldionne.com/hana-cppnow-2015)) -- Talk on Hana at [CppCon][] 2014 ([slides](http://ldionne.com/hana-cppcon-2014)/[video](https://youtu.be/L2SktfaJPuU)) -- The [MPL11][] library, which is how Hana started out -- Talk on the MPL11 at [C++Now][] 2014 ([slides](http://ldionne.com/mpl11-cppnow-2014)/[video](https://youtu.be/8c0aWLuEO0Y)) -- Louis Dionne's bachelor's thesis was a formalization of C++ metaprogramming through - category theory. The thesis is available [here](https://github.com/ldionne/hana-thesis/blob/gh-pages/main.pdf), - and the slides of a related presentation are available [here](http://ldionne.com/hana-thesis). - Unfortunately, both are in french only. - - ## Contributing Please see [CONTRIBUTING.md](CONTRIBUTING.md). @@ -185,7 +176,8 @@ new version of the library. This is only relevant to Hana's developers. To release a new version of the library, create an annotated tag using `git tag -a`. Then, push the tag and create a new GitHub release pointing to that tag. Once that is done, bump the version number in `include/boost/hana/version.hpp` -so that it matches the next planned release. +so that it matches the next planned release. Finally, do not forget to update +the [Homebrew formula][] to point to the latest version. @@ -194,11 +186,9 @@ so that it matches the next planned release. [badge.Travis]: https://travis-ci.org/boostorg/hana.svg?branch=master [badge.version]: https://badge.fury.io/gh/boostorg%2Fhana.svg [badge.Wandbox]: https://img.shields.io/badge/try%20it-online-blue.svg -[C++Now]: http://cppnow.org [CMake]: http://www.cmake.org -[CppCon]: http://cppcon.org [Doxygen]: http://www.doxygen.org [eRuby]: http://en.wikipedia.org/wiki/ERuby [Hana.docs]: http://boostorg.github.io/hana [Hana.wiki]: https://github.com/boostorg/hana/wiki -[MPL11]: http://github.com/ldionne/mpl11 +[Homebrew formula]: https://github.com/Homebrew/homebrew-core/blob/master/Formula/hana.rb diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index ffc531bbde..16471e62ab 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -23,20 +23,12 @@ if(${__BOOST_HANA_MISSING_GEMS}) return() endif() -# Check for the MPL11 library, which can be measured in some benchmarks +# Some benchmarks depend on those libraries find_package(MPL11) -if (MPL11_FOUND) - include_directories(${MPL11_INCLUDE_DIR}) -endif() - -# Check for the Meta library, which can be measured in some benchmarks find_package(Meta) -if (Meta_FOUND) - include_directories(${Meta_INCLUDE_DIR}) -endif() -boost_hana_append_flag(BOOST_HANA_HAS_FTEMPLATE_DEPTH -ftemplate-depth=-1) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include(CheckCXXCompilerFlag) +check_cxx_compiler_flag(-ftemplate-depth=-1 BOOST_HANA_HAS_FTEMPLATE_DEPTH) ############################################################################## # Configure the measure.rb script @@ -64,7 +56,17 @@ foreach(benchmark IN LISTS BOOST_HANA_BENCHMARKS) file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${target}.measure.cpp "") add_executable(${target}.measure EXCLUDE_FROM_ALL ${CMAKE_CURRENT_BINARY_DIR}/${target}.measure.cpp) - target_link_libraries(${target}.measure hana) + target_include_directories(${target}.measure PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) + if (MPL11_FOUND) + target_include_directories(${target}.measure PRIVATE ${MPL11_INCLUDE_DIR}) + endif() + if (Meta_FOUND) + target_include_directories(${target}.measure PRIVATE ${Meta_INCLUDE_DIR}) + endif() + boost_hana_set_test_properties(${target}.measure) + if (BOOST_HANA_HAS_FTEMPLATE_DEPTH) + target_compile_options(${target}.measure PRIVATE -ftemplate-depth=-1) + endif() set_target_properties(${target}.measure PROPERTIES RULE_LAUNCH_COMPILE "${CMAKE_CURRENT_BINARY_DIR}/measure.rb") set_property(TARGET ${target}.measure APPEND PROPERTY INCLUDE_DIRECTORIES "${directory}") add_custom_target(${target}.measure.run COMMAND ${target}.measure) diff --git a/benchmark/chart.html b/benchmark/chart.html index f30438e310..55718cefae 100644 --- a/benchmark/chart.html +++ b/benchmark/chart.html @@ -1,5 +1,5 @@ diff --git a/benchmark/find_if/compile.fusion.list.erb.cpp b/benchmark/find_if/compile.fusion.list.erb.cpp index 198b56cfda..a7c0ca90e4 100644 --- a/benchmark/find_if/compile.fusion.list.erb.cpp +++ b/benchmark/find_if/compile.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.fusion.vector.erb.cpp b/benchmark/find_if/compile.fusion.vector.erb.cpp index 5e9d29d381..067cbaae5a 100644 --- a/benchmark/find_if/compile.fusion.vector.erb.cpp +++ b/benchmark/find_if/compile.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.hana.set.erb.cpp b/benchmark/find_if/compile.hana.set.erb.cpp index 6e6da0dfe1..6ce3187860 100644 --- a/benchmark/find_if/compile.hana.set.erb.cpp +++ b/benchmark/find_if/compile.hana.set.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.hana.tuple.erb.cpp b/benchmark/find_if/compile.hana.tuple.erb.cpp index 5a382bd3bf..7e4684b65c 100644 --- a/benchmark/find_if/compile.hana.tuple.erb.cpp +++ b/benchmark/find_if/compile.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.meta.list.erb.cpp b/benchmark/find_if/compile.meta.list.erb.cpp index f929096f9f..4c2e61aa75 100644 --- a/benchmark/find_if/compile.meta.list.erb.cpp +++ b/benchmark/find_if/compile.meta.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.mpl.vector.erb.cpp b/benchmark/find_if/compile.mpl.vector.erb.cpp index 89e5d063f6..b6b42a7029 100644 --- a/benchmark/find_if/compile.mpl.vector.erb.cpp +++ b/benchmark/find_if/compile.mpl.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/find_if/compile.std.integer_sequence.erb.cpp b/benchmark/find_if/compile.std.integer_sequence.erb.cpp index 5da6d7beca..1e51945995 100644 --- a/benchmark/find_if/compile.std.integer_sequence.erb.cpp +++ b/benchmark/find_if/compile.std.integer_sequence.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.cexpr.recursive.erb.cpp b/benchmark/fold_left/compile.cexpr.recursive.erb.cpp index a2460244d4..30beb1698b 100644 --- a/benchmark/fold_left/compile.cexpr.recursive.erb.cpp +++ b/benchmark/fold_left/compile.cexpr.recursive.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.cexpr.unrolled.erb.cpp b/benchmark/fold_left/compile.cexpr.unrolled.erb.cpp index bb1715cc74..80fb46f050 100644 --- a/benchmark/fold_left/compile.cexpr.unrolled.erb.cpp +++ b/benchmark/fold_left/compile.cexpr.unrolled.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.fusion.list.erb.cpp b/benchmark/fold_left/compile.fusion.list.erb.cpp index 42a2fa72e4..144744a23e 100644 --- a/benchmark/fold_left/compile.fusion.list.erb.cpp +++ b/benchmark/fold_left/compile.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.fusion.vector.erb.cpp b/benchmark/fold_left/compile.fusion.vector.erb.cpp index a9cfb7e68d..3a319b351d 100644 --- a/benchmark/fold_left/compile.fusion.vector.erb.cpp +++ b/benchmark/fold_left/compile.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.hana.basic_tuple.erb.cpp b/benchmark/fold_left/compile.hana.basic_tuple.erb.cpp index f4ecf06958..c076f3fc93 100644 --- a/benchmark/fold_left/compile.hana.basic_tuple.erb.cpp +++ b/benchmark/fold_left/compile.hana.basic_tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.hana.tuple.erb.cpp b/benchmark/fold_left/compile.hana.tuple.erb.cpp index d6e91b8604..a245e30c9f 100644 --- a/benchmark/fold_left/compile.hana.tuple.erb.cpp +++ b/benchmark/fold_left/compile.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.meta.list.erb.cpp b/benchmark/fold_left/compile.meta.list.erb.cpp index df8e793847..cd2ec0f8a3 100644 --- a/benchmark/fold_left/compile.meta.list.erb.cpp +++ b/benchmark/fold_left/compile.meta.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.mpl.vector.erb.cpp b/benchmark/fold_left/compile.mpl.vector.erb.cpp index 0401cb1471..4d5b5b4b6c 100644 --- a/benchmark/fold_left/compile.mpl.vector.erb.cpp +++ b/benchmark/fold_left/compile.mpl.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/compile.mpl11.list.erb.cpp b/benchmark/fold_left/compile.mpl11.list.erb.cpp index 5228c6924e..cf383ef000 100644 --- a/benchmark/fold_left/compile.mpl11.list.erb.cpp +++ b/benchmark/fold_left/compile.mpl11.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/execute.fusion.list.erb.cpp b/benchmark/fold_left/execute.fusion.list.erb.cpp index f15f6fefcd..b719389808 100644 --- a/benchmark/fold_left/execute.fusion.list.erb.cpp +++ b/benchmark/fold_left/execute.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Copyright Zach Laine 2014 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/execute.fusion.vector.erb.cpp b/benchmark/fold_left/execute.fusion.vector.erb.cpp index edbc1d604b..c733a3be08 100644 --- a/benchmark/fold_left/execute.fusion.vector.erb.cpp +++ b/benchmark/fold_left/execute.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Copyright Zach Laine 2014 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/execute.hana.tuple.erb.cpp b/benchmark/fold_left/execute.hana.tuple.erb.cpp index df9b2960c4..622d74f887 100644 --- a/benchmark/fold_left/execute.hana.tuple.erb.cpp +++ b/benchmark/fold_left/execute.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Copyright Zach Laine 2014 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/execute.std.array.erb.cpp b/benchmark/fold_left/execute.std.array.erb.cpp index 7a4cd3209a..3961151b6d 100644 --- a/benchmark/fold_left/execute.std.array.erb.cpp +++ b/benchmark/fold_left/execute.std.array.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/fold_left/execute.std.vector.erb.cpp b/benchmark/fold_left/execute.std.vector.erb.cpp index bb17a73724..703b6fbcc6 100644 --- a/benchmark/fold_left/execute.std.vector.erb.cpp +++ b/benchmark/fold_left/execute.std.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/baseline.erb.cpp b/benchmark/including/baseline.erb.cpp index d21ed54ee0..932facb475 100644 --- a/benchmark/including/baseline.erb.cpp +++ b/benchmark/including/baseline.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/fusion.erb.cpp b/benchmark/including/fusion.erb.cpp index af6140a73b..bae08353ad 100644 --- a/benchmark/including/fusion.erb.cpp +++ b/benchmark/including/fusion.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/hana.erb.cpp b/benchmark/including/hana.erb.cpp index cd9e6bd7b2..e35e81350b 100644 --- a/benchmark/including/hana.erb.cpp +++ b/benchmark/including/hana.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/meta.erb.cpp b/benchmark/including/meta.erb.cpp index 029a41cf2a..492d2f9ede 100644 --- a/benchmark/including/meta.erb.cpp +++ b/benchmark/including/meta.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/mpl.erb.cpp b/benchmark/including/mpl.erb.cpp index 001ddd72fd..167eb3765a 100644 --- a/benchmark/including/mpl.erb.cpp +++ b/benchmark/including/mpl.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/including/mpl11.erb.cpp b/benchmark/including/mpl11.erb.cpp index a82f40c336..e5b9fd5120 100644 --- a/benchmark/including/mpl11.erb.cpp +++ b/benchmark/including/mpl11.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.fusion.list.erb.cpp b/benchmark/make/compile.fusion.list.erb.cpp index 753e983a37..7274375a84 100644 --- a/benchmark/make/compile.fusion.list.erb.cpp +++ b/benchmark/make/compile.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.fusion.vector.erb.cpp b/benchmark/make/compile.fusion.vector.erb.cpp index 3f0b06cb47..fd3794b342 100644 --- a/benchmark/make/compile.fusion.vector.erb.cpp +++ b/benchmark/make/compile.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.hana.basic_tuple.erb.cpp b/benchmark/make/compile.hana.basic_tuple.erb.cpp index 340077acde..a04016a4c8 100644 --- a/benchmark/make/compile.hana.basic_tuple.erb.cpp +++ b/benchmark/make/compile.hana.basic_tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.hana.tuple.erb.cpp b/benchmark/make/compile.hana.tuple.erb.cpp index 644a5adb75..34ce368e3b 100644 --- a/benchmark/make/compile.hana.tuple.erb.cpp +++ b/benchmark/make/compile.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.meta.list.erb.cpp b/benchmark/make/compile.meta.list.erb.cpp index 2a6cdafe69..f90fef99b2 100644 --- a/benchmark/make/compile.meta.list.erb.cpp +++ b/benchmark/make/compile.meta.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.mpl.vector.erb.cpp b/benchmark/make/compile.mpl.vector.erb.cpp index 311cfe9e79..4b7d94c53b 100644 --- a/benchmark/make/compile.mpl.vector.erb.cpp +++ b/benchmark/make/compile.mpl.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.mpl11.list.erb.cpp b/benchmark/make/compile.mpl11.list.erb.cpp index fa272684d2..79d0c697d9 100644 --- a/benchmark/make/compile.mpl11.list.erb.cpp +++ b/benchmark/make/compile.mpl11.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.std.array.erb.cpp b/benchmark/make/compile.std.array.erb.cpp index ce2a7059da..792ec48480 100644 --- a/benchmark/make/compile.std.array.erb.cpp +++ b/benchmark/make/compile.std.array.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/make/compile.std.tuple.erb.cpp b/benchmark/make/compile.std.tuple.erb.cpp index 9831415311..11fc7cd85a 100644 --- a/benchmark/make/compile.std.tuple.erb.cpp +++ b/benchmark/make/compile.std.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/measure.hpp b/benchmark/measure.hpp index 9d8ec19f90..a477fefcf3 100644 --- a/benchmark/measure.hpp +++ b/benchmark/measure.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/measure.in.rb b/benchmark/measure.in.rb index d024d78cef..65e2a98b49 100755 --- a/benchmark/measure.in.rb +++ b/benchmark/measure.in.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) # diff --git a/benchmark/reverse/move.fusion.vector.erb.cpp b/benchmark/reverse/move.fusion.vector.erb.cpp index 233c20ce3a..83c2937129 100644 --- a/benchmark/reverse/move.fusion.vector.erb.cpp +++ b/benchmark/reverse/move.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/reverse/move.hana.tuple.erb.cpp b/benchmark/reverse/move.hana.tuple.erb.cpp index 47659cf346..bf27357d5b 100644 --- a/benchmark/reverse/move.hana.tuple.erb.cpp +++ b/benchmark/reverse/move.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/reverse/nomove.fusion.vector.erb.cpp b/benchmark/reverse/nomove.fusion.vector.erb.cpp index 6a88879837..cbb4b07d2b 100644 --- a/benchmark/reverse/nomove.fusion.vector.erb.cpp +++ b/benchmark/reverse/nomove.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/reverse/nomove.hana.tuple.erb.cpp b/benchmark/reverse/nomove.hana.tuple.erb.cpp index babee46f89..913061e3d5 100644 --- a/benchmark/reverse/nomove.hana.tuple.erb.cpp +++ b/benchmark/reverse/nomove.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.fusion.list.erb.cpp b/benchmark/transform/compile.fusion.list.erb.cpp index fa06ab1b33..4ced955d58 100644 --- a/benchmark/transform/compile.fusion.list.erb.cpp +++ b/benchmark/transform/compile.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.fusion.vector.erb.cpp b/benchmark/transform/compile.fusion.vector.erb.cpp index 122867b522..687e7b5109 100644 --- a/benchmark/transform/compile.fusion.vector.erb.cpp +++ b/benchmark/transform/compile.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.hana.tuple.erb.cpp b/benchmark/transform/compile.hana.tuple.erb.cpp index 027f8d8d67..0d3c8951d2 100644 --- a/benchmark/transform/compile.hana.tuple.erb.cpp +++ b/benchmark/transform/compile.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.meta.list.erb.cpp b/benchmark/transform/compile.meta.list.erb.cpp index 39ac4d92e6..1341cccb4d 100644 --- a/benchmark/transform/compile.meta.list.erb.cpp +++ b/benchmark/transform/compile.meta.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.mpl.vector.erb.cpp b/benchmark/transform/compile.mpl.vector.erb.cpp index 6337f13e43..a7bdc72d8b 100644 --- a/benchmark/transform/compile.mpl.vector.erb.cpp +++ b/benchmark/transform/compile.mpl.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/compile.mpl11.list.erb.cpp b/benchmark/transform/compile.mpl11.list.erb.cpp index 57450d5bd0..262e48bc07 100644 --- a/benchmark/transform/compile.mpl11.list.erb.cpp +++ b/benchmark/transform/compile.mpl11.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/execute.fusion.list.erb.cpp b/benchmark/transform/execute.fusion.list.erb.cpp index 4c5c1f1833..5855a61da9 100644 --- a/benchmark/transform/execute.fusion.list.erb.cpp +++ b/benchmark/transform/execute.fusion.list.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/execute.fusion.vector.erb.cpp b/benchmark/transform/execute.fusion.vector.erb.cpp index 5fac408f73..721a35f249 100644 --- a/benchmark/transform/execute.fusion.vector.erb.cpp +++ b/benchmark/transform/execute.fusion.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/execute.hana.tuple.erb.cpp b/benchmark/transform/execute.hana.tuple.erb.cpp index 79c5ca2830..8d58e19380 100644 --- a/benchmark/transform/execute.hana.tuple.erb.cpp +++ b/benchmark/transform/execute.hana.tuple.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/execute.std.array.erb.cpp b/benchmark/transform/execute.std.array.erb.cpp index e9738ea3da..f5537be40b 100644 --- a/benchmark/transform/execute.std.array.erb.cpp +++ b/benchmark/transform/execute.std.array.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/benchmark/transform/execute.std.vector.erb.cpp b/benchmark/transform/execute.std.vector.erb.cpp index cb7035796b..5b6b11d75c 100644 --- a/benchmark/transform/execute.std.vector.erb.cpp +++ b/benchmark/transform/execute.std.vector.erb.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/cmake/CheckCxxCompilerSupport.cmake b/cmake/CheckCxxCompilerSupport.cmake index e6022919c6..78f1b5fd46 100644 --- a/cmake/CheckCxxCompilerSupport.cmake +++ b/cmake/CheckCxxCompilerSupport.cmake @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Copyright Markus J. Weber 2015 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/cmake/FindHana.cmake b/cmake/FindHana.cmake index a7b9181334..d1a6c9ab18 100644 --- a/cmake/FindHana.cmake +++ b/cmake/FindHana.cmake @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) # diff --git a/cmake/FindMPL11.cmake b/cmake/FindMPL11.cmake index 12fe7cbd04..5b8b3c4e03 100644 --- a/cmake/FindMPL11.cmake +++ b/cmake/FindMPL11.cmake @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) # diff --git a/cmake/FindMeta.cmake b/cmake/FindMeta.cmake index fcfce66fed..0a532062bb 100644 --- a/cmake/FindMeta.cmake +++ b/cmake/FindMeta.cmake @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) # diff --git a/cmake/FindValgrind.cmake b/cmake/FindValgrind.cmake deleted file mode 100644 index 91c743332b..0000000000 --- a/cmake/FindValgrind.cmake +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright Louis Dionne 2013-2016 -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) -# -# -# This CMake module finds the Valgrind executable. This module sets the -# following CMake variables: -# -# Valgrind_FOUND -# Set to 1 when Valgrind is found, 0 otherwise. -# -# Valgrind_EXECUTABLE -# If the Valgrind executable is found, this is set to its full path. -# Otherwise this is not set. -# -# -# The following variables can be used to give hints about search locations: -# -# Valgrind_EXECUTABLE -# The path to the Valgrind executable. - -if (NOT EXISTS "${Valgrind_EXECUTABLE}") - find_program(Valgrind_EXECUTABLE NAMES valgrind - DOC "Full path to the Valgrind executable.") -endif() - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Valgrind - FOUND_VAR Valgrind_FOUND - REQUIRED_VARS Valgrind_EXECUTABLE) diff --git a/cmake/TestHeaders.cmake b/cmake/TestHeaders.cmake index 2513a4e910..6e2e0ac0f8 100644 --- a/cmake/TestHeaders.cmake +++ b/cmake/TestHeaders.cmake @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) # @@ -81,7 +81,7 @@ # `target_link_libraries`. # # [EXCLUDE_FROM_ALL]: -# If set to true, the generated targets are excluded from the 'all' target. +# If provided, the generated targets are excluded from the 'all' target. # function(generate_standalone_header_tests) cmake_parse_arguments(ARGS "EXCLUDE_FROM_ALL" # options diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index a738ea078c..66406606cc 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index f6109f428e..1c40557049 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 13a1d7f64c..05462329e6 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -30,5 +30,5 @@ actions make-hana-doc { # [1]: http://www.boost.org/development/requirements.html#Requirements alias boostdoc ; explicit boostdoc ; -alias boostrelease ; +alias boostrelease : hana-doc ; explicit boostrelease ; diff --git a/doc/footer.html b/doc/footer.html index c2140328fe..dd6b7f5ad6 100644 --- a/doc/footer.html +++ b/doc/footer.html @@ -1,5 +1,5 @@ diff --git a/doc/header.html b/doc/header.html index 2a2366d422..c8f1b20a20 100644 --- a/doc/header.html +++ b/doc/header.html @@ -1,5 +1,5 @@ diff --git a/doc/js/chart.js b/doc/js/chart.js index 0c49699755..27d8bba8b7 100644 --- a/doc/js/chart.js +++ b/doc/js/chart.js @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/doc/js/hana.js b/doc/js/hana.js index 2024d5769f..e0a04138d1 100644 --- a/doc/js/hana.js +++ b/doc/js/hana.js @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/doc/js/mathjax-config.js b/doc/js/mathjax-config.js index a0c3749014..12f9e5ab7e 100644 --- a/doc/js/mathjax-config.js +++ b/doc/js/mathjax-config.js @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/doc/layout.xml b/doc/layout.xml index 172434de04..8e9e200335 100644 --- a/doc/layout.xml +++ b/doc/layout.xml @@ -1,5 +1,5 @@ diff --git a/doc/tutorial.hpp b/doc/tutorial.hpp index 734ddee9dc..2128e9a552 100644 --- a/doc/tutorial.hpp +++ b/doc/tutorial.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -44,43 +44,54 @@ and the standard library. ------------------------------------------------------------------------------ Hana is a header-only library without external dependencies (not even the rest of Boost). Hence, using Hana in your own project is very easy. Basically, just -add the `include/` directory to your compiler's header search path and you are -done. However, if you want to cleanly install Hana on your system, you have a -couple of options. First, you can install Boost 1.61.0 or later, since Hana is -included in Boost starting with that release. If you do not want to install all -of Boost, it is also possible to install Hana only. To do so, you can download -the code from the official GitHub [repository][Hana.repository] and install the -library manually by issuing the following commands from the root of the project -(requires [CMake][]): +download the project and add the `include/` directory to your compiler's header +search path and you are done. However, if you want to cleanly install Hana, you +have a couple of options: +1. __Install Boost__\n +Hana is included in the [Boost][] distribution starting from Boost 1.61.0, so +installing that will give you access to Hana. + +2. __Install locally for CMake projects__\n +If you use CMake in a project, you can use the provided [FindHana.cmake][Hana.findmodule] +module to setup Hana as an external CMake project. The module allows using an +already-installed version of Hana, or installing Hana locally to your CMake +project, without needing a system-wide installation. + +3. __Use Homebrew__\n +On Mac OS, Hana can be installed with [Homebrew][]: +@code{.sh} +brew install hana +@endcode + +4. __Install manually__\n +You can download the code from the official GitHub [repository][Hana.repository] +and install the library manually by issuing the following commands from the root +of the project (requires [CMake][]): @code{.sh} mkdir build && cd build cmake .. cmake --build . --target install @endcode - This will install Hana to the default install-directory for your platform (`/usr/local` for Unix, `C:/Program Files` for Windows). If you want to install Hana in a custom location, you can use - @code{.sh} cmake .. -DCMAKE_INSTALL_PREFIX=/custom/install/prefix @endcode @note -- The manual installation will also install a `hana.pc` file for use -with [pkg-config][]. +- Both the manual installation and the Homebrew installation will also install +a `hana.pc` file for use with [pkg-config][]. -- Do not install Hana as shown above if you already have an installation of -Boost, because the new installation will overwrite the one that comes with -Boost. +- Do not mix a system-wide installation of Hana with a system-wide installation +of Boost, because both installations will clash. You won't know which version of +Hana is being used, and that could break libraries that depend on the version of +Hana provided with Boost (or vice-versa). Generally speaking, you should favor +local installations whenever possible. -If you use CMake in a project, you can use the provided [FindHana.cmake][Hana.findmodule] -module to setup Hana as an external CMake project. The module also allows -installing Hana locally to that project, without needing to install Hana on -the system per the above instructions. Finally, if you want to contribute to -Hana, you can see how to best setup your environment for development in the -[README][Hana.hacking]. +Finally, if you want to contribute to Hana, you can see how to best setup your +environment for development in the [README][Hana.hacking]. @subsection tutorial-installation-requirements Compiler requirements @@ -3283,6 +3294,25 @@ The reference attempts to make these concepts approachable by using intuition whenever possible, but bear in mind that the highest rewards are usually the fruit of some effort. +@subsection tutorial-conclusion-related_material Related material + +Through the years, I have produced some material about Hana and metaprogramming +more generally. You may find some of it useful: + +- Keynote on metaprogramming at [Meeting C++][] 2016 ([slides](http://ldionne.com/meetingcpp-2016)/[video](https://youtu.be/X_p9X5RzBJE)) +- Talk on advanced metaprogramming techniques used in Hana at [C++Now][] 2016 ([slides](http://ldionne.com/cppnow-2016-metaprogramming-for-the-brave)/[video](https://youtu.be/UXwWXHrvTug)) +- Introduction to metaprogramming with Hana at [C++Now][] 2016 ([slides](http://ldionne.com/cppnow-2016-metaprogramming-for-dummies)/[video](https://youtu.be/a1doqFAumCk)) +- Talk on metaprogramming and Hana at [CppCon][] 2015 ([slides](http://ldionne.com/hana-cppcon-2015)/[video](https://youtu.be/cg1wOINjV9U)) +- Talk on metaprogramming and Hana at [C++Now][] 2015 ([slides](http://ldionne.com/hana-cppnow-2015)/[video](https://youtu.be/Z2ABRaQiFHs)) +- Talk on Hana at [CppCon][] 2014 ([slides](http://ldionne.com/hana-cppcon-2014)/[video](https://youtu.be/L2SktfaJPuU)) +- The [MPL11][] library, which is how Hana started out +- Talk on the MPL11 at [C++Now][] 2014 ([slides](http://ldionne.com/mpl11-cppnow-2014)/[video](https://youtu.be/8c0aWLuEO0Y)) +- My bachelor's thesis was a formalization of C++ metaprogramming using category + theory. The thesis is available [here](https://github.com/ldionne/hana-thesis/blob/gh-pages/main.pdf), + and the slides of a related presentation are available [here](http://ldionne.com/hana-thesis). + Unfortunately, both are in french only. + + This finishes the tutorial part of the documentation. I hope you enjoy using the library, and please consider [contributing][Hana.contributing] to make it even better! @@ -4063,10 +4093,11 @@ modified as little as possible to work with this reimplementation. -[Boost.Devel]: http://news.gmane.org/gmane.comp.lib.boost.devel +[Boost.Devel]: http://lists.boost.org/Archives/boost [Boost.Fusion]: http://www.boost.org/doc/libs/release/libs/fusion/doc/html/index.html [Boost.MPL]: http://www.boost.org/doc/libs/release/libs/mpl/doc/index.html [Boost.Steering]: https://sites.google.com/a/boost.org/steering/home +[Boost]: http://www.boost.org [Brigand]: https://github.com/edouarda/brigand [C++14.auto_rt]: http://en.wikipedia.org/wiki/C%2B%2B14#Function_return_type_deduction [C++14.gconstexpr]: http://en.wikipedia.org/wiki/C%2B%2B11#constexpr_.E2.80.93_Generalized_constant_expressions @@ -4081,6 +4112,7 @@ modified as little as possible to work with this reimplementation. [CMake]: http://www.cmake.org [constexpr_throw]: http://stackoverflow.com/a/8626450/627587 [CopyConstructible]: http://en.cppreference.com/w/cpp/concept/CopyConstructible +[CppCon]: http://cppcon.org [GOTW]: http://www.gotw.ca/gotw/index.htm [GSoC]: http://www.google-melange.com/gsoc/homepage/google/gsoc2014 [Hana.chat]: https://gitter.im/boostorg/hana @@ -4093,7 +4125,8 @@ modified as little as possible to work with this reimplementation. [Hana.wiki]: https://github.com/boostorg/hana/wiki [Homebrew]: http://brew.sh [lie-to-children]: http://en.wikipedia.org/wiki/Lie-to-children -[Metabench]: https://ldionne.github.io/metabench +[Meeting C++]: https://meetingcpp.com +[Metabench]: http://metaben.ch [MPL.arithmetic]: http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/arithmetic-operations.html [MPL.metafunction]: http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/metafunction.html [MPL.mfc]: http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/metafunction-class.html diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index a2c1271064..f417a982f3 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright Louis Dionne 2013-2016 +# Copyright Louis Dionne 2013-2017 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -38,12 +38,16 @@ list(REMOVE_ITEM EXAMPLES "" ${EXCLUDED_EXAMPLES}) # are useful for illustration, even if the implementation is not actually # presented. We don't want to generate warnings for that or need to comment # out all unused parameter names. -boost_hana_append_flag(BOOST_HANA_HAS_WNO_UNUSED_PARAMETER -Wno-unused-parameter) +include(CheckCXXCompilerFlag) +check_cxx_compiler_flag(-Wno-unused-parameter BOOST_HANA_HAS_WNO_UNUSED_PARAMETER) foreach(_file IN LISTS EXAMPLES) boost_hana_target_name_for(_target "${_file}") add_executable(${_target} EXCLUDE_FROM_ALL "${_file}") - target_link_libraries(${_target} hana) - boost_hana_add_test(${_target} ${CMAKE_CURRENT_BINARY_DIR}/${_target}) + add_test(${_target} ${CMAKE_CURRENT_BINARY_DIR}/${_target}) + boost_hana_set_test_properties(${_target}) + if (BOOST_HANA_HAS_WNO_UNUSED_PARAMETER) + target_compile_options(${_target} PRIVATE -Wno-unused-parameter) + endif() add_dependencies(examples ${_target}) endforeach() diff --git a/example/accessors.cpp b/example/accessors.cpp index 49720e54c5..cbc4890195 100644 --- a/example/accessors.cpp +++ b/example/accessors.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/adapt_adt.cpp b/example/adapt_adt.cpp index 4ce0366257..54e591dcac 100644 --- a/example/adapt_adt.cpp +++ b/example/adapt_adt.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/adapt_struct.cpp b/example/adapt_struct.cpp index 6cf338a37d..9170e2ce1f 100644 --- a/example/adapt_struct.cpp +++ b/example/adapt_struct.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/adjust.cpp b/example/adjust.cpp index aac72392d2..74ad183679 100644 --- a/example/adjust.cpp +++ b/example/adjust.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/adjust_if.cpp b/example/adjust_if.cpp index 9ffc4eb5f8..399f9e60ff 100644 --- a/example/adjust_if.cpp +++ b/example/adjust_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/all.cpp b/example/all.cpp index 0297fd3f29..b34e31eb0f 100644 --- a/example/all.cpp +++ b/example/all.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/all_of.cpp b/example/all_of.cpp index 0edec493f6..6a7dee9563 100644 --- a/example/all_of.cpp +++ b/example/all_of.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/and.cpp b/example/and.cpp index 4e4b0d9bbd..f33a32d700 100644 --- a/example/and.cpp +++ b/example/and.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/any.cpp b/example/any.cpp index 73e04ee65b..14e0861f54 100644 --- a/example/any.cpp +++ b/example/any.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/any_of.cpp b/example/any_of.cpp index f33b8dee16..330c10631c 100644 --- a/example/any_of.cpp +++ b/example/any_of.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ap.cpp b/example/ap.cpp index 54a62666b6..51000d91e5 100644 --- a/example/ap.cpp +++ b/example/ap.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/append.cpp b/example/append.cpp index 0a2db6aa8a..8731cb733c 100644 --- a/example/append.cpp +++ b/example/append.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/at.cpp b/example/at.cpp index 2b81cef367..802a4f7d95 100644 --- a/example/at.cpp +++ b/example/at.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -10,8 +10,8 @@ namespace hana = boost::hana; constexpr auto xs = hana::make_tuple(0, '1', 2.0); -static_assert(hana::at(xs, hana::size_c<0>) == 0, ""); -static_assert(hana::at(xs, hana::size_c<1>) == '1', ""); -static_assert(hana::at(xs, hana::size_c<2>) == 2.0, ""); +static_assert(hana::at(xs, hana::size_t<0>{}) == 0, ""); +static_assert(hana::at(xs, hana::size_t<1>{}) == '1', ""); +static_assert(hana::at(xs, hana::size_t<2>{}) == 2.0, ""); int main() { } diff --git a/example/at_c.cpp b/example/at_c.cpp index c5fdc48c05..df4e257fab 100644 --- a/example/at_c.cpp +++ b/example/at_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/at_key.cpp b/example/at_key.cpp index a9f763a52d..41f29b5736 100644 --- a/example/at_key.cpp +++ b/example/at_key.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -15,13 +15,13 @@ namespace hana = boost::hana; int main() { auto m = hana::make_map( - hana::make_pair(hana::type_c, std::string{"int"}), - hana::make_pair(hana::int_c<3>, std::string{"3"}) + hana::make_pair(hana::type{}, std::string{"int"}), + hana::make_pair(hana::int_<3>{}, std::string{"3"}) ); - BOOST_HANA_RUNTIME_CHECK(hana::at_key(m, hana::type_c) == "int"); + BOOST_HANA_RUNTIME_CHECK(hana::at_key(m, hana::type{}) == "int"); // usage as operator[] - BOOST_HANA_RUNTIME_CHECK(m[hana::type_c] == "int"); - BOOST_HANA_RUNTIME_CHECK(m[hana::int_c<3>] == "3"); + BOOST_HANA_RUNTIME_CHECK(m[hana::type{}] == "int"); + BOOST_HANA_RUNTIME_CHECK(m[hana::int_<3>{}] == "3"); } diff --git a/example/back.cpp b/example/back.cpp index 923c32ab0f..4ca689c130 100644 --- a/example/back.cpp +++ b/example/back.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/basic_tuple/make.cpp b/example/basic_tuple/make.cpp index b3f72558da..b037dd04c5 100644 --- a/example/basic_tuple/make.cpp +++ b/example/basic_tuple/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cartesian_product.cpp b/example/cartesian_product.cpp index ee088541b0..22aab50706 100644 --- a/example/cartesian_product.cpp +++ b/example/cartesian_product.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/chain.cpp b/example/chain.cpp index 74e262b149..04a3fe41e9 100644 --- a/example/chain.cpp +++ b/example/chain.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/comparing.cpp b/example/comparing.cpp index 85b7a24035..8c6538816d 100644 --- a/example/comparing.cpp +++ b/example/comparing.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/concat.cpp b/example/concat.cpp index 9e78a9612e..d344a58dda 100644 --- a/example/concat.cpp +++ b/example/concat.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/contains.cpp b/example/contains.cpp index b110319096..ce7bc5d195 100644 --- a/example/contains.cpp +++ b/example/contains.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/common/common.cpp b/example/core/common/common.cpp index ecc59705d5..30883b2766 100644 --- a/example/core/common/common.cpp +++ b/example/core/common/common.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/common/common_t.cpp b/example/core/common/common_t.cpp index 5a01516987..25df42df76 100644 --- a/example/core/common/common_t.cpp +++ b/example/core/common/common_t.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/common/has_common.cpp b/example/core/common/has_common.cpp index 6e6c011843..2dcd40f25b 100644 --- a/example/core/common/has_common.cpp +++ b/example/core/common/has_common.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/convert/embedding.cpp b/example/core/convert/embedding.cpp index 49f2efa668..618637a2b9 100644 --- a/example/core/convert/embedding.cpp +++ b/example/core/convert/embedding.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/convert/is_convertible.cpp b/example/core/convert/is_convertible.cpp index c601a962d4..e076924dc2 100644 --- a/example/core/convert/is_convertible.cpp +++ b/example/core/convert/is_convertible.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/convert/is_embedded.cpp b/example/core/convert/is_embedded.cpp index faba44820b..2f0906d496 100644 --- a/example/core/convert/is_embedded.cpp +++ b/example/core/convert/is_embedded.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/convert/to.cpp b/example/core/convert/to.cpp index 9a6c0972af..07244ea2f5 100644 --- a/example/core/convert/to.cpp +++ b/example/core/convert/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/default.cpp b/example/core/default.cpp index c47c9d9f89..73ff31b544 100644 --- a/example/core/default.cpp +++ b/example/core/default.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/is_a.cpp b/example/core/is_a.cpp index fbc61df929..a534ea12d9 100644 --- a/example/core/is_a.cpp +++ b/example/core/is_a.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/make.cpp b/example/core/make.cpp index d2409e1aca..59185c0e1c 100644 --- a/example/core/make.cpp +++ b/example/core/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/tag_of.cpp b/example/core/tag_of.cpp index b78ee219d4..2c9ddf7b4d 100644 --- a/example/core/tag_of.cpp +++ b/example/core/tag_of.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/tag_of_t.cpp b/example/core/tag_of_t.cpp index 0bbacc4cc2..6689ef96ef 100644 --- a/example/core/tag_of_t.cpp +++ b/example/core/tag_of_t.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/when.cpp b/example/core/when.cpp index 81db74e952..2c5e34d290 100644 --- a/example/core/when.cpp +++ b/example/core/when.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/core/when_valid.cpp b/example/core/when_valid.cpp index 53ca26d812..2ed680fab0 100644 --- a/example/core/when_valid.cpp +++ b/example/core/when_valid.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/count.cpp b/example/count.cpp index 2d71430bbe..8e26b2daad 100644 --- a/example/count.cpp +++ b/example/count.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/count_if.cpp b/example/count_if.cpp index 6bdbc45c7c..da7a42eba3 100644 --- a/example/count_if.cpp +++ b/example/count_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/comparable.cpp b/example/cppcon_2014/comparable.cpp index 51371ba598..f931514605 100644 --- a/example/cppcon_2014/comparable.cpp +++ b/example/cppcon_2014/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/det.cpp b/example/cppcon_2014/det.cpp index a304da010f..8597e70fc8 100644 --- a/example/cppcon_2014/det.cpp +++ b/example/cppcon_2014/det.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/functor.cpp b/example/cppcon_2014/functor.cpp index e56b3f0d9b..b447002cad 100644 --- a/example/cppcon_2014/functor.cpp +++ b/example/cppcon_2014/functor.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix.cpp b/example/cppcon_2014/matrix.cpp index ca29fcaa4b..3143459c58 100644 --- a/example/cppcon_2014/matrix.cpp +++ b/example/cppcon_2014/matrix.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/comparable.hpp b/example/cppcon_2014/matrix/comparable.hpp index 7d9fe804d6..d84b0dac82 100644 --- a/example/cppcon_2014/matrix/comparable.hpp +++ b/example/cppcon_2014/matrix/comparable.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/det.hpp b/example/cppcon_2014/matrix/det.hpp index 2d2a54ac4b..f499fda7ef 100644 --- a/example/cppcon_2014/matrix/det.hpp +++ b/example/cppcon_2014/matrix/det.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/functor.hpp b/example/cppcon_2014/matrix/functor.hpp index 4b8a2f7bb9..5bb3cd85d3 100644 --- a/example/cppcon_2014/matrix/functor.hpp +++ b/example/cppcon_2014/matrix/functor.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/group.hpp b/example/cppcon_2014/matrix/group.hpp index 71328fb649..87c90b7a75 100644 --- a/example/cppcon_2014/matrix/group.hpp +++ b/example/cppcon_2014/matrix/group.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/matrix.hpp b/example/cppcon_2014/matrix/matrix.hpp index f518a04beb..d7e142460f 100644 --- a/example/cppcon_2014/matrix/matrix.hpp +++ b/example/cppcon_2014/matrix/matrix.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/monoid.hpp b/example/cppcon_2014/matrix/monoid.hpp index 3688bc67ec..87d62817cf 100644 --- a/example/cppcon_2014/matrix/monoid.hpp +++ b/example/cppcon_2014/matrix/monoid.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/matrix/ring.hpp b/example/cppcon_2014/matrix/ring.hpp index c3c8b0f135..748f4f8a33 100644 --- a/example/cppcon_2014/matrix/ring.hpp +++ b/example/cppcon_2014/matrix/ring.hpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cppcon_2014/ring.cpp b/example/cppcon_2014/ring.cpp index d752f930e0..718539cccd 100644 --- a/example/cppcon_2014/ring.cpp +++ b/example/cppcon_2014/ring.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/cycle.cpp b/example/cycle.cpp index 0ec0a67b5b..e86eba4993 100644 --- a/example/cycle.cpp +++ b/example/cycle.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/define_struct.cpp b/example/define_struct.cpp index 396198dfbf..578e9b15e5 100644 --- a/example/define_struct.cpp +++ b/example/define_struct.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/detail/wrong.cpp b/example/detail/wrong.cpp index 074be81dcc..2b603c623b 100644 --- a/example/detail/wrong.cpp +++ b/example/detail/wrong.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/difference.cpp b/example/difference.cpp index 58946e9555..e91a9222de 100644 --- a/example/difference.cpp +++ b/example/difference.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/div.cpp b/example/div.cpp index 3cc4836fc5..5c909e1d29 100644 --- a/example/div.cpp +++ b/example/div.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/drop_back.cpp b/example/drop_back.cpp index fc81e07474..8083c2ee06 100644 --- a/example/drop_back.cpp +++ b/example/drop_back.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/drop_front.cpp b/example/drop_front.cpp index 6df82325b7..c483883711 100644 --- a/example/drop_front.cpp +++ b/example/drop_front.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/drop_front_exactly.cpp b/example/drop_front_exactly.cpp index b05307c225..e7e6923cb6 100644 --- a/example/drop_front_exactly.cpp +++ b/example/drop_front_exactly.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/drop_while.cpp b/example/drop_while.cpp index 66b7c72b39..0e3cf7e744 100644 --- a/example/drop_while.cpp +++ b/example/drop_while.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/duplicate.cpp b/example/duplicate.cpp index 449ddc3c21..44737cb7c1 100644 --- a/example/duplicate.cpp +++ b/example/duplicate.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/empty.cpp b/example/empty.cpp index 736df61c17..71900cac4b 100644 --- a/example/empty.cpp +++ b/example/empty.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/equal.cpp b/example/equal.cpp index 47dacdf9dc..a917ebadca 100644 --- a/example/equal.cpp +++ b/example/equal.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/eval.cpp b/example/eval.cpp index 97667b19cb..f17bd11ce5 100644 --- a/example/eval.cpp +++ b/example/eval.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/eval_if.cpp b/example/eval_if.cpp index 235066ea28..60aeef42aa 100644 --- a/example/eval_if.cpp +++ b/example/eval_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/fusion/deque.cpp b/example/ext/boost/fusion/deque.cpp index aa5f3190d1..965e784725 100644 --- a/example/ext/boost/fusion/deque.cpp +++ b/example/ext/boost/fusion/deque.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/fusion/list.cpp b/example/ext/boost/fusion/list.cpp index fa0dda372f..dbd2cfc7e5 100644 --- a/example/ext/boost/fusion/list.cpp +++ b/example/ext/boost/fusion/list.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/fusion/tuple.cpp b/example/ext/boost/fusion/tuple.cpp index 90a8864588..2c4743b068 100644 --- a/example/ext/boost/fusion/tuple.cpp +++ b/example/ext/boost/fusion/tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/fusion/vector.cpp b/example/ext/boost/fusion/vector.cpp index b3f8b5aec6..fd2f115b1c 100644 --- a/example/ext/boost/fusion/vector.cpp +++ b/example/ext/boost/fusion/vector.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/integral_c/integral_constant.cpp b/example/ext/boost/mpl/integral_c/integral_constant.cpp index 69ab43d446..e4b7813503 100644 --- a/example/ext/boost/mpl/integral_c/integral_constant.cpp +++ b/example/ext/boost/mpl/integral_c/integral_constant.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/list/comparable.cpp b/example/ext/boost/mpl/list/comparable.cpp index 52590ba098..7f28164882 100644 --- a/example/ext/boost/mpl/list/comparable.cpp +++ b/example/ext/boost/mpl/list/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/list/conversion.cpp b/example/ext/boost/mpl/list/conversion.cpp index 7f653a3d1b..2bed05599c 100644 --- a/example/ext/boost/mpl/list/conversion.cpp +++ b/example/ext/boost/mpl/list/conversion.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/list/foldable.cpp b/example/ext/boost/mpl/list/foldable.cpp index 9271f2eb76..6f21fdc887 100644 --- a/example/ext/boost/mpl/list/foldable.cpp +++ b/example/ext/boost/mpl/list/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/list/iterable.cpp b/example/ext/boost/mpl/list/iterable.cpp index ba8bfe5da7..87a803c205 100644 --- a/example/ext/boost/mpl/list/iterable.cpp +++ b/example/ext/boost/mpl/list/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/list/searchable.cpp b/example/ext/boost/mpl/list/searchable.cpp index 4f6191a2e1..4ce0fd775f 100644 --- a/example/ext/boost/mpl/list/searchable.cpp +++ b/example/ext/boost/mpl/list/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/vector/comparable.cpp b/example/ext/boost/mpl/vector/comparable.cpp index 95383c6d97..c5e936f500 100644 --- a/example/ext/boost/mpl/vector/comparable.cpp +++ b/example/ext/boost/mpl/vector/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/vector/conversion.cpp b/example/ext/boost/mpl/vector/conversion.cpp index 4c98454f7e..7319f20091 100644 --- a/example/ext/boost/mpl/vector/conversion.cpp +++ b/example/ext/boost/mpl/vector/conversion.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/vector/foldable.cpp b/example/ext/boost/mpl/vector/foldable.cpp index d0cefa9fa8..eb9411a6c6 100644 --- a/example/ext/boost/mpl/vector/foldable.cpp +++ b/example/ext/boost/mpl/vector/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/vector/iterable.cpp b/example/ext/boost/mpl/vector/iterable.cpp index 94274e028d..c6751a3b75 100644 --- a/example/ext/boost/mpl/vector/iterable.cpp +++ b/example/ext/boost/mpl/vector/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/mpl/vector/searchable.cpp b/example/ext/boost/mpl/vector/searchable.cpp index a159b10392..4769499250 100644 --- a/example/ext/boost/mpl/vector/searchable.cpp +++ b/example/ext/boost/mpl/vector/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/boost/tuple.cpp b/example/ext/boost/tuple.cpp index 7ed4373e24..319e808349 100644 --- a/example/ext/boost/tuple.cpp +++ b/example/ext/boost/tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/array/comparable.cpp b/example/ext/std/array/comparable.cpp index 1f6b37fb7f..c1c814877e 100644 --- a/example/ext/std/array/comparable.cpp +++ b/example/ext/std/array/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/array/foldable.cpp b/example/ext/std/array/foldable.cpp index db8946ea94..cff38e1c1e 100644 --- a/example/ext/std/array/foldable.cpp +++ b/example/ext/std/array/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/array/iterable.cpp b/example/ext/std/array/iterable.cpp index 6d2519dd73..d14dbd9110 100644 --- a/example/ext/std/array/iterable.cpp +++ b/example/ext/std/array/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/array/orderable.cpp b/example/ext/std/array/orderable.cpp index d8dd794cd5..2381077f9f 100644 --- a/example/ext/std/array/orderable.cpp +++ b/example/ext/std/array/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/integer_sequence/comparable.cpp b/example/ext/std/integer_sequence/comparable.cpp index cd8c59f5ca..10b62752ac 100644 --- a/example/ext/std/integer_sequence/comparable.cpp +++ b/example/ext/std/integer_sequence/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/integer_sequence/foldable.cpp b/example/ext/std/integer_sequence/foldable.cpp index 415da134ec..4d7c3253f6 100644 --- a/example/ext/std/integer_sequence/foldable.cpp +++ b/example/ext/std/integer_sequence/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/integer_sequence/iterable.cpp b/example/ext/std/integer_sequence/iterable.cpp index 4ddc5a2167..ef421ec370 100644 --- a/example/ext/std/integer_sequence/iterable.cpp +++ b/example/ext/std/integer_sequence/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/integer_sequence/searchable.cpp b/example/ext/std/integer_sequence/searchable.cpp index 27cbc70ad4..c0a159bc85 100644 --- a/example/ext/std/integer_sequence/searchable.cpp +++ b/example/ext/std/integer_sequence/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/integral_constant.cpp b/example/ext/std/integral_constant.cpp index ab06e071ee..04e234f1a0 100644 --- a/example/ext/std/integral_constant.cpp +++ b/example/ext/std/integral_constant.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/pair.cpp b/example/ext/std/pair.cpp index 0543731859..d118b18f83 100644 --- a/example/ext/std/pair.cpp +++ b/example/ext/std/pair.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/ratio/arithmetic.cpp b/example/ext/std/ratio/arithmetic.cpp index 37b1e98f5e..7bcdbbd3f7 100644 --- a/example/ext/std/ratio/arithmetic.cpp +++ b/example/ext/std/ratio/arithmetic.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/ratio/comparable.cpp b/example/ext/std/ratio/comparable.cpp index bbeb6c24d8..05d64de322 100644 --- a/example/ext/std/ratio/comparable.cpp +++ b/example/ext/std/ratio/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/ratio/orderable.cpp b/example/ext/std/ratio/orderable.cpp index a687d7e474..7764bb12aa 100644 --- a/example/ext/std/ratio/orderable.cpp +++ b/example/ext/std/ratio/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ext/std/tuple.cpp b/example/ext/std/tuple.cpp index 5529138a58..d545d6fb4d 100644 --- a/example/ext/std/tuple.cpp +++ b/example/ext/std/tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/extend.cpp b/example/extend.cpp index 851bef11e2..9d5351b190 100644 --- a/example/extend.cpp +++ b/example/extend.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/extract.cpp b/example/extract.cpp index 29e382fffa..1334a831fe 100644 --- a/example/extract.cpp +++ b/example/extract.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/fill.cpp b/example/fill.cpp index e8b1fc1392..d18a821499 100644 --- a/example/fill.cpp +++ b/example/fill.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/filter.cpp b/example/filter.cpp index e5d085ffb1..af7fbba35f 100644 --- a/example/filter.cpp +++ b/example/filter.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/find.cpp b/example/find.cpp index 7155f405b4..cd75bc974c 100644 --- a/example/find.cpp +++ b/example/find.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/find_if.cpp b/example/find_if.cpp index f968bca5f8..73264683a2 100644 --- a/example/find_if.cpp +++ b/example/find_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/first.cpp b/example/first.cpp index 60da1c4867..c48a9b65e9 100644 --- a/example/first.cpp +++ b/example/first.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/flatten.cpp b/example/flatten.cpp index 74897cfec6..61c3d272c5 100644 --- a/example/flatten.cpp +++ b/example/flatten.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/fold.cpp b/example/fold.cpp index f82bee0121..a351be580d 100644 --- a/example/fold.cpp +++ b/example/fold.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/fold_left.cpp b/example/fold_left.cpp index 87b5baccdd..4480c3f689 100644 --- a/example/fold_left.cpp +++ b/example/fold_left.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/fold_right.cpp b/example/fold_right.cpp index f4932983e9..5a9e675dd6 100644 --- a/example/fold_right.cpp +++ b/example/fold_right.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/foldable/to.cpp b/example/foldable/to.cpp index 762857bae6..ec6a24a5e3 100644 --- a/example/foldable/to.cpp +++ b/example/foldable/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/for_each.cpp b/example/for_each.cpp index 6dcefba958..e58ad92046 100644 --- a/example/for_each.cpp +++ b/example/for_each.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/front.cpp b/example/front.cpp index 58b2b9f014..74278545e9 100644 --- a/example/front.cpp +++ b/example/front.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/always.cpp b/example/functional/always.cpp index d83dd7b295..5c45944218 100644 --- a/example/functional/always.cpp +++ b/example/functional/always.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/apply.cpp b/example/functional/apply.cpp index 1f92718edf..a5686a9c62 100644 --- a/example/functional/apply.cpp +++ b/example/functional/apply.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/arg.cpp b/example/functional/arg.cpp index 5b5f5128a3..53030a6685 100644 --- a/example/functional/arg.cpp +++ b/example/functional/arg.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/capture.cpp b/example/functional/capture.cpp index 2acf58edaf..588c9b3f7e 100644 --- a/example/functional/capture.cpp +++ b/example/functional/capture.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/compose.cpp b/example/functional/compose.cpp index eabf99caab..a1e026df38 100644 --- a/example/functional/compose.cpp +++ b/example/functional/compose.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/curry.cpp b/example/functional/curry.cpp index 2aa5cb14d6..6e24b039bd 100644 --- a/example/functional/curry.cpp +++ b/example/functional/curry.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/demux.cpp b/example/functional/demux.cpp index 7c05dd68ae..8dfd69eba8 100644 --- a/example/functional/demux.cpp +++ b/example/functional/demux.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/fix.cpp b/example/functional/fix.cpp index 276eb2f22e..8547a8d1a6 100644 --- a/example/functional/fix.cpp +++ b/example/functional/fix.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/flip.cpp b/example/functional/flip.cpp index 0f29593673..9afb2bcad6 100644 --- a/example/functional/flip.cpp +++ b/example/functional/flip.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/id.cpp b/example/functional/id.cpp index 7617b4282e..16a39c1e7d 100644 --- a/example/functional/id.cpp +++ b/example/functional/id.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/infix.cpp b/example/functional/infix.cpp index 7b576e26b7..3b74044d88 100644 --- a/example/functional/infix.cpp +++ b/example/functional/infix.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/iterate.cpp b/example/functional/iterate.cpp index 4979c80ee6..40aa7c93c1 100644 --- a/example/functional/iterate.cpp +++ b/example/functional/iterate.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/lockstep.cpp b/example/functional/lockstep.cpp index 3ad2f44763..cbb8266cae 100644 --- a/example/functional/lockstep.cpp +++ b/example/functional/lockstep.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/on.cpp b/example/functional/on.cpp index eac861b5dc..bc5e5662ba 100644 --- a/example/functional/on.cpp +++ b/example/functional/on.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/overload.cpp b/example/functional/overload.cpp index d63c2bfee4..2a78f7b5d3 100644 --- a/example/functional/overload.cpp +++ b/example/functional/overload.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/overload_linearly.cpp b/example/functional/overload_linearly.cpp index 6a0201d74e..632234f56a 100644 --- a/example/functional/overload_linearly.cpp +++ b/example/functional/overload_linearly.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/partial.cpp b/example/functional/partial.cpp index aa49aa3176..ac40f12a48 100644 --- a/example/functional/partial.cpp +++ b/example/functional/partial.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/placeholder.cpp b/example/functional/placeholder.cpp index 5d0f7f59d8..31cbc4a556 100644 --- a/example/functional/placeholder.cpp +++ b/example/functional/placeholder.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/functional/reverse_partial.cpp b/example/functional/reverse_partial.cpp index e9bb8feb03..45ba8f18b9 100644 --- a/example/functional/reverse_partial.cpp +++ b/example/functional/reverse_partial.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/fuse.cpp b/example/fuse.cpp index 0eed2b9de3..52f422db2b 100644 --- a/example/fuse.cpp +++ b/example/fuse.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/greater.cpp b/example/greater.cpp index 505913fb5b..be5b56c792 100644 --- a/example/greater.cpp +++ b/example/greater.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/greater_equal.cpp b/example/greater_equal.cpp index 8c9bcb4aea..5b9021c437 100644 --- a/example/greater_equal.cpp +++ b/example/greater_equal.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/group.cpp b/example/group.cpp index 35a51d25db..9025cb0a3c 100644 --- a/example/group.cpp +++ b/example/group.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/hash.cpp b/example/hash.cpp index a048bdc4bb..dcbdd7afa4 100644 --- a/example/hash.cpp +++ b/example/hash.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/if.cpp b/example/if.cpp index 2462a42d37..9d580a07fc 100644 --- a/example/if.cpp +++ b/example/if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/in.cpp b/example/in.cpp index 3339a4115d..ae8f227cfd 100644 --- a/example/in.cpp +++ b/example/in.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/insert.cpp b/example/insert.cpp index 306c05fa22..d2e210a663 100644 --- a/example/insert.cpp +++ b/example/insert.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/insert_range.cpp b/example/insert_range.cpp index 85e15f2ad0..1d78c57ab3 100644 --- a/example/insert_range.cpp +++ b/example/insert_range.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/integral_constant.cpp b/example/integral_constant.cpp index c86c81cd73..c6eef44e30 100644 --- a/example/integral_constant.cpp +++ b/example/integral_constant.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/intersection.cpp b/example/intersection.cpp index 60ca27c3b9..1d080432bd 100644 --- a/example/intersection.cpp +++ b/example/intersection.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/intersperse.cpp b/example/intersperse.cpp index 2a0e60d76c..3e95669969 100644 --- a/example/intersperse.cpp +++ b/example/intersperse.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/is_disjoint.cpp b/example/is_disjoint.cpp index 227b83aabe..71cde04e51 100644 --- a/example/is_disjoint.cpp +++ b/example/is_disjoint.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/is_empty.cpp b/example/is_empty.cpp index 0d03108474..d9893511db 100644 --- a/example/is_empty.cpp +++ b/example/is_empty.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/is_subset.cpp b/example/is_subset.cpp index 3069cd9b30..064942b524 100644 --- a/example/is_subset.cpp +++ b/example/is_subset.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/iterable/searchable.cpp b/example/iterable/searchable.cpp index 1222f77436..a685361cfd 100644 --- a/example/iterable/searchable.cpp +++ b/example/iterable/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lazy/comonad.cpp b/example/lazy/comonad.cpp index 2316d393f1..39bbbea6b1 100644 --- a/example/lazy/comonad.cpp +++ b/example/lazy/comonad.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lazy/functor.cpp b/example/lazy/functor.cpp index 4e0947b132..5fa20ab3b5 100644 --- a/example/lazy/functor.cpp +++ b/example/lazy/functor.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lazy/make.cpp b/example/lazy/make.cpp index 92652f93bc..d602c96d4e 100644 --- a/example/lazy/make.cpp +++ b/example/lazy/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lazy/monad.cpp b/example/lazy/monad.cpp index 19d0e7470f..f425e28107 100644 --- a/example/lazy/monad.cpp +++ b/example/lazy/monad.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/length.cpp b/example/length.cpp index cd09c49aff..26246dac0e 100644 --- a/example/length.cpp +++ b/example/length.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/less.cpp b/example/less.cpp index d7296ea786..1762aede3a 100644 --- a/example/less.cpp +++ b/example/less.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/less_equal.cpp b/example/less_equal.cpp index 4e610f02a8..368c2e8964 100644 --- a/example/less_equal.cpp +++ b/example/less_equal.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lexicographical_compare.cpp b/example/lexicographical_compare.cpp index 677b76421f..5c70f59e86 100644 --- a/example/lexicographical_compare.cpp +++ b/example/lexicographical_compare.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/lift.cpp b/example/lift.cpp index 9a4c3baac1..c8f777cbd4 100644 --- a/example/lift.cpp +++ b/example/lift.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/comparable.cpp b/example/map/comparable.cpp index 3486252b68..4c3d348b0a 100644 --- a/example/map/comparable.cpp +++ b/example/map/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/erase_key.cpp b/example/map/erase_key.cpp index 1238d58b8f..2ba407145c 100644 --- a/example/map/erase_key.cpp +++ b/example/map/erase_key.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/foldable.cpp b/example/map/foldable.cpp index f3d0579b8a..1884220a31 100644 --- a/example/map/foldable.cpp +++ b/example/map/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/insert.cpp b/example/map/insert.cpp index 2e6b7c2bba..80aff7d5f2 100644 --- a/example/map/insert.cpp +++ b/example/map/insert.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/keys.cpp b/example/map/keys.cpp index 3bf58b839f..073d6dec6a 100644 --- a/example/map/keys.cpp +++ b/example/map/keys.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/make.cpp b/example/map/make.cpp index be859853c5..a9660e1cb7 100644 --- a/example/map/make.cpp +++ b/example/map/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/map.cpp b/example/map/map.cpp index d5c44290bd..a04ecfd739 100644 --- a/example/map/map.cpp +++ b/example/map/map.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. #include diff --git a/example/map/searchable.cpp b/example/map/searchable.cpp index 6c52b5fbf8..4f51e704ed 100644 --- a/example/map/searchable.cpp +++ b/example/map/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/to.cpp b/example/map/to.cpp index 9d2f4c54da..550c7665e0 100644 --- a/example/map/to.cpp +++ b/example/map/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/map/values.cpp b/example/map/values.cpp index 1fc8959497..4bbfb92f58 100644 --- a/example/map/values.cpp +++ b/example/map/values.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/max.cpp b/example/max.cpp index 166675a045..15b1031b3a 100644 --- a/example/max.cpp +++ b/example/max.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/maximum.cpp b/example/maximum.cpp index 1db906f906..b6d377d559 100644 --- a/example/maximum.cpp +++ b/example/maximum.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/maximum_by.cpp b/example/maximum_by.cpp index 78a8da2121..5ee979c239 100644 --- a/example/maximum_by.cpp +++ b/example/maximum_by.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/members.cpp b/example/members.cpp index 3cd7e86138..0353f3aff3 100644 --- a/example/members.cpp +++ b/example/members.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/min.cpp b/example/min.cpp index 339cbd17fc..0449bae413 100644 --- a/example/min.cpp +++ b/example/min.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/minimum.cpp b/example/minimum.cpp index fe82b0c68b..4349f29045 100644 --- a/example/minimum.cpp +++ b/example/minimum.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/minimum_by.cpp b/example/minimum_by.cpp index 8ec1c3654c..2595744efd 100644 --- a/example/minimum_by.cpp +++ b/example/minimum_by.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/minus.cpp b/example/minus.cpp index 681b181522..de1aa967e8 100644 --- a/example/minus.cpp +++ b/example/minus.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/misc/from_json.cpp b/example/misc/from_json.cpp index 655a27e7eb..3c3483e925 100644 --- a/example/misc/from_json.cpp +++ b/example/misc/from_json.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/misc/indexed_sort.cpp b/example/misc/indexed_sort.cpp index b174bcac15..de8308e4d8 100644 --- a/example/misc/indexed_sort.cpp +++ b/example/misc/indexed_sort.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/experimental/lazy_list.cpp b/example/misc/infinite_list.cpp similarity index 93% rename from experimental/lazy_list.cpp rename to example/misc/infinite_list.cpp index 738728b37e..b5eecaf18c 100644 --- a/experimental/lazy_list.cpp +++ b/example/misc/infinite_list.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -23,6 +23,10 @@ namespace hana = boost::hana; +// A naive implementation of a lazy compile-time list, i.e. a tuple that can +// potentially have an infinite number of elements (but that infinity must be +// determinable at compile-time). + struct LazyList; template diff --git a/example/misc/infinite_set.cpp b/example/misc/infinite_set.cpp index 0bec7a51c1..6bccfd535c 100644 --- a/example/misc/infinite_set.cpp +++ b/example/misc/infinite_set.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/experimental/lambda_tuple.cpp b/example/misc/lambda_tuple.cpp similarity index 97% rename from experimental/lambda_tuple.cpp rename to example/misc/lambda_tuple.cpp index c612834587..d3bcbd1916 100644 --- a/experimental/lambda_tuple.cpp +++ b/example/misc/lambda_tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -36,6 +36,8 @@ namespace hana = boost::hana; +// An interesting way of implementing tuple using lambda captures. + struct lambda_tuple_tag { }; template @@ -48,7 +50,7 @@ struct lambda_tuple_t { Storage storage; }; -BOOST_HANA_CONSTEXPR_LAMBDA auto lambda_tuple = [](auto ...xs) -> decltype(auto) { +auto lambda_tuple = [](auto ...xs) { auto storage = [=](auto f) -> decltype(auto) { return f(xs...); }; return lambda_tuple_t{std::move(storage)}; }; @@ -61,8 +63,7 @@ namespace boost { namespace hana { struct unpack_impl { template static constexpr decltype(auto) apply(Xs&& xs, F&& f) { - return static_cast(xs) - .storage(static_cast(f)); + return static_cast(xs).storage(static_cast(f)); } }; diff --git a/example/misc/nth.cpp b/example/misc/nth.cpp index be7af2a236..ffbdf1eb82 100644 --- a/example/misc/nth.cpp +++ b/example/misc/nth.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/misc/overload_linearly.cpp b/example/misc/overload_linearly.cpp index 9d1a3afe5c..a41174a27d 100644 --- a/example/misc/overload_linearly.cpp +++ b/example/misc/overload_linearly.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/misc/printf.cpp b/example/misc/printf.cpp index 791ec49ecd..01f5a9abf6 100644 --- a/example/misc/printf.cpp +++ b/example/misc/printf.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/experimental/ref_tuple.cpp b/example/misc/ref_tuple.cpp similarity index 77% rename from experimental/ref_tuple.cpp rename to example/misc/ref_tuple.cpp index ae1e62b061..488925800d 100644 --- a/experimental/ref_tuple.cpp +++ b/example/misc/ref_tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) @@ -12,14 +12,21 @@ #include #include +#include namespace hana = boost::hana; +// A tuple that holds reference_wrappers to its elements, instead of the +// elements themselves. + struct RefTuple { }; template -struct ref_tuple { - hana::tuple storage_; +struct ref_tuple; + +template +struct ref_tuple { + hana::tuple...> storage_; }; @@ -32,8 +39,8 @@ namespace boost { namespace hana { template <> struct make_impl { template - static constexpr auto apply(T&& ...t) { - return ref_tuple{{t...}}; + static constexpr auto apply(T& ...t) { + return ref_tuple{{std::ref(t)...}}; } }; @@ -41,7 +48,7 @@ namespace boost { namespace hana { struct at_impl { template static constexpr decltype(auto) apply(Xs&& xs, N const& n) { - return hana::at(static_cast(xs).storage_, n); + return hana::at(static_cast(xs).storage_, n).get(); } }; @@ -57,7 +64,7 @@ namespace boost { namespace hana { struct drop_front_impl { template static constexpr auto helper(ref_tuple xs, std::index_sequence) { - return hana::make(hana::at_c(xs.storage_)...); + return hana::make(hana::at_c(xs.storage_).get()...); } template @@ -67,13 +74,13 @@ namespace boost { namespace hana { )>{}); } }; -}} +}} // end namespace boost::hana int main() { int i = 0, j = 1, k = 2; - auto refs = hana::make(i, j, k); + ref_tuple refs = hana::make(i, j, k); hana::at_c<0>(refs) = 3; BOOST_HANA_RUNTIME_CHECK(i == 3); diff --git a/experimental/function.cpp b/example/misc/restricted_function.cpp similarity index 62% rename from experimental/function.cpp rename to example/misc/restricted_function.cpp index cafb9188d7..6a290489b3 100644 --- a/experimental/function.cpp +++ b/example/misc/restricted_function.cpp @@ -1,16 +1,21 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include #include +#include #include #include #include #include +#include #include #include +#include +#include #include +#include #include #include #include @@ -19,6 +24,11 @@ namespace hana = boost::hana; using namespace hana::literals; +// A function that can have an arbitrary compile-time set of values as a domain +// and co-domain. This is most likely purely of theoretical interest, but it +// allows creating functions with very complex domains and co-domains that are +// computed at compile-time. + struct Function { }; template @@ -31,7 +41,7 @@ struct function_type { template constexpr auto operator()(X x) const { - BOOST_HANA_ASSERT(boost::hana::contains(domain_, x)); + BOOST_HANA_CONSTANT_ASSERT(boost::hana::contains(domain_, x)); return f_(x); } }; @@ -67,6 +77,25 @@ constexpr auto range(Function f) { return hana::to_set(hana::transform(hana::to_tuple(domain(f)), f)); } +template +constexpr auto implies(P p, Q q) { + return hana::or_(hana::not_(p), q); +} + +template +constexpr auto is_injective(F f) { + auto dom = hana::to_tuple(domain(f)); + auto pairs = hana::cartesian_product(hana::make_tuple(dom, dom)); + return hana::all_of(pairs, hana::fuse([&](auto x, auto y) { + return implies(hana::not_equal(x, y), hana::not_equal(f(x), f(y))); + })); +} + +template +constexpr auto is_onto(F f) { + return codomain(f) == range(f); +} + namespace boost { namespace hana { template <> struct equal_impl { @@ -78,20 +107,6 @@ namespace boost { namespace hana { }; }} // end namespace boost::hana - -// BOOST_HANA_CONSTEXPR_LAMBDA auto is_injective = [](auto f) { -// auto check = [](auto x, auto y) { -// return (x != y) ^implies^ (f(x) != f(y)); -// }; -// return all_of(product(domain(f), domain(f)), check); -// }; - -// BOOST_HANA_CONSTEXPR_LAMBDA auto is_onto = [](auto f) { -// return codomain(f) == range(g); -// }; - -////////////////////////////////////////////////////////////////////////////// - int main() { auto f = function(hana::make_set(1_c, 2_c, 3_c), hana::make_set(1_c, 2_c, 3_c, 4_c, 5_c, 6_c))( [](auto x) { return x + 1_c; } @@ -110,4 +125,19 @@ int main() { BOOST_HANA_CONSTANT_CHECK(f(1_c) == 2_c); BOOST_HANA_CONSTANT_CHECK(range(f) == hana::make_set(4_c, 3_c, 2_c)); + BOOST_HANA_CONSTANT_CHECK(range(g) == hana::make_set(2_c, 3_c, 4_c)); + BOOST_HANA_CONSTANT_CHECK(range(h) == hana::make_set(0_c, 1_c, 2_c)); + + BOOST_HANA_CONSTANT_CHECK(hana::not_(is_onto(f))); + BOOST_HANA_CONSTANT_CHECK(is_onto(g)); + BOOST_HANA_CONSTANT_CHECK(is_onto(h)); + + auto even = function(hana::make_set(1_c, 2_c, 3_c), hana::make_set(hana::true_c, hana::false_c))( + [](auto x) { return x % 2_c == 0_c; } + ); + + BOOST_HANA_CONSTANT_CHECK(is_injective(f)); + BOOST_HANA_CONSTANT_CHECK(is_injective(g)); + BOOST_HANA_CONSTANT_CHECK(is_injective(h)); + BOOST_HANA_CONSTANT_CHECK(hana::not_(is_injective(even))); } diff --git a/example/misc/tree.cpp b/example/misc/tree.cpp index 72cdcab1ce..c74a3e2c06 100644 --- a/example/misc/tree.cpp +++ b/example/misc/tree.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/mod.cpp b/example/mod.cpp index 0013c45cab..cc07851991 100644 --- a/example/mod.cpp +++ b/example/mod.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/monadic_compose.cpp b/example/monadic_compose.cpp index 666149d907..9c95ee7f76 100644 --- a/example/monadic_compose.cpp +++ b/example/monadic_compose.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/monadic_fold_left.cpp b/example/monadic_fold_left.cpp index 0655218061..35b4f0034e 100644 --- a/example/monadic_fold_left.cpp +++ b/example/monadic_fold_left.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/monadic_fold_right.cpp b/example/monadic_fold_right.cpp index ae0f715f4e..255962407a 100644 --- a/example/monadic_fold_right.cpp +++ b/example/monadic_fold_right.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/mult.cpp b/example/mult.cpp index 13c0216165..22522df1b7 100644 --- a/example/mult.cpp +++ b/example/mult.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/negate.cpp b/example/negate.cpp index 503ab24a38..1a52322bac 100644 --- a/example/negate.cpp +++ b/example/negate.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/none.cpp b/example/none.cpp index 5f6431823f..38aa012f75 100644 --- a/example/none.cpp +++ b/example/none.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/none_of.cpp b/example/none_of.cpp index 1729ee63f0..17d24a5b7e 100644 --- a/example/none_of.cpp +++ b/example/none_of.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/not.cpp b/example/not.cpp index 477453a508..119372c670 100644 --- a/example/not.cpp +++ b/example/not.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/not_equal.cpp b/example/not_equal.cpp index afc604d110..5750bf84bb 100644 --- a/example/not_equal.cpp +++ b/example/not_equal.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/one.cpp b/example/one.cpp index 475d2f4d11..536300a38c 100644 --- a/example/one.cpp +++ b/example/one.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/applicative.complex.cpp b/example/optional/applicative.complex.cpp index 31c1102655..72dc9f0123 100644 --- a/example/optional/applicative.complex.cpp +++ b/example/optional/applicative.complex.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/applicative.cpp b/example/optional/applicative.cpp index 1120392c64..3c67c30e96 100644 --- a/example/optional/applicative.cpp +++ b/example/optional/applicative.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/comparable.cpp b/example/optional/comparable.cpp index 1a167556f3..ba192b8527 100644 --- a/example/optional/comparable.cpp +++ b/example/optional/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/foldable.cpp b/example/optional/foldable.cpp index 12b59b2bb5..21fc920c61 100644 --- a/example/optional/foldable.cpp +++ b/example/optional/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/functor.cpp b/example/optional/functor.cpp index 242b6d72f9..6faf54a0f3 100644 --- a/example/optional/functor.cpp +++ b/example/optional/functor.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/is_just.cpp b/example/optional/is_just.cpp index b4ff0c3d7e..7c7216acef 100644 --- a/example/optional/is_just.cpp +++ b/example/optional/is_just.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/is_nothing.cpp b/example/optional/is_nothing.cpp index a5d13feefc..ffde02df56 100644 --- a/example/optional/is_nothing.cpp +++ b/example/optional/is_nothing.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/just.cpp b/example/optional/just.cpp index fe94f20b23..bf7d32042a 100644 --- a/example/optional/just.cpp +++ b/example/optional/just.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/make.cpp b/example/optional/make.cpp index b63c913f2d..fd0034a76e 100644 --- a/example/optional/make.cpp +++ b/example/optional/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/maybe.cpp b/example/optional/maybe.cpp index 1188979976..5e90cb652c 100644 --- a/example/optional/maybe.cpp +++ b/example/optional/maybe.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/monad.cpp b/example/optional/monad.cpp index bdb9048ef1..2be7821a64 100644 --- a/example/optional/monad.cpp +++ b/example/optional/monad.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/monad_plus.cpp b/example/optional/monad_plus.cpp index 42e6d9ec7b..d326815261 100644 --- a/example/optional/monad_plus.cpp +++ b/example/optional/monad_plus.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/nothing.cpp b/example/optional/nothing.cpp index 4441092930..81f109e90b 100644 --- a/example/optional/nothing.cpp +++ b/example/optional/nothing.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/orderable.cpp b/example/optional/orderable.cpp index e5c730da41..b8cb7e1105 100644 --- a/example/optional/orderable.cpp +++ b/example/optional/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/searchable.cpp b/example/optional/searchable.cpp index 601578a2ae..e95d451af2 100644 --- a/example/optional/searchable.cpp +++ b/example/optional/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/sfinae.cpp b/example/optional/sfinae.cpp index 762a227b26..1fe9adf0e2 100644 --- a/example/optional/sfinae.cpp +++ b/example/optional/sfinae.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/sfinae_friendly_metafunctions.cpp b/example/optional/sfinae_friendly_metafunctions.cpp index 72db231d5c..f27bdcf9c0 100644 --- a/example/optional/sfinae_friendly_metafunctions.cpp +++ b/example/optional/sfinae_friendly_metafunctions.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/value.cpp b/example/optional/value.cpp index 8bbc7ff64e..adbb7aac5b 100644 --- a/example/optional/value.cpp +++ b/example/optional/value.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/optional/value_or.cpp b/example/optional/value_or.cpp index b816d82b39..1d0b229609 100644 --- a/example/optional/value_or.cpp +++ b/example/optional/value_or.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/or.cpp b/example/or.cpp index c286aafc1d..567aebcfec 100644 --- a/example/or.cpp +++ b/example/or.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/ordering.cpp b/example/ordering.cpp index 6e3339e3e0..9f8c18ed64 100644 --- a/example/ordering.cpp +++ b/example/ordering.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/overview.cpp b/example/overview.cpp index 48eb5a2c77..37b802f3b9 100644 --- a/example/overview.cpp +++ b/example/overview.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/pair/comparable.cpp b/example/pair/comparable.cpp index 6487ca337e..63610e2fce 100644 --- a/example/pair/comparable.cpp +++ b/example/pair/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/pair/foldable.cpp b/example/pair/foldable.cpp index f038efcaa1..e9e92c74d6 100644 --- a/example/pair/foldable.cpp +++ b/example/pair/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/pair/make.cpp b/example/pair/make.cpp index 9dd512f3de..f13e3de99a 100644 --- a/example/pair/make.cpp +++ b/example/pair/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/pair/orderable.cpp b/example/pair/orderable.cpp index 8571017933..14c87e5b1e 100644 --- a/example/pair/orderable.cpp +++ b/example/pair/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/pair/product.cpp b/example/pair/product.cpp index 0fe3df0721..c48db2cef6 100644 --- a/example/pair/product.cpp +++ b/example/pair/product.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/partition.cpp b/example/partition.cpp index b17fea92fd..708c4eaa41 100644 --- a/example/partition.cpp +++ b/example/partition.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/permutations.cpp b/example/permutations.cpp index d4736b47f2..413c24c663 100644 --- a/example/permutations.cpp +++ b/example/permutations.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/plus.cpp b/example/plus.cpp index abca4b43cb..7de42fbd91 100644 --- a/example/plus.cpp +++ b/example/plus.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/power.cpp b/example/power.cpp index f586f00ed2..d869977fab 100644 --- a/example/power.cpp +++ b/example/power.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/prefix.cpp b/example/prefix.cpp index 5a8ab453e8..0db9eb5d33 100644 --- a/example/prefix.cpp +++ b/example/prefix.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/prepend.cpp b/example/prepend.cpp index c6b314e1e6..3ca19eb776 100644 --- a/example/prepend.cpp +++ b/example/prepend.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/product.cpp b/example/product.cpp index 86b7f8cd1b..52cb4bc1b0 100644 --- a/example/product.cpp +++ b/example/product.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/product/comparable.cpp b/example/product/comparable.cpp index ca78075d9d..d9b3a43ffe 100644 --- a/example/product/comparable.cpp +++ b/example/product/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/product/make.cpp b/example/product/make.cpp index 5dc29d9bf0..5c85f83962 100644 --- a/example/product/make.cpp +++ b/example/product/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/comparable.cpp b/example/range/comparable.cpp index b11f9ac1c9..a27014cc44 100644 --- a/example/range/comparable.cpp +++ b/example/range/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/foldable.cpp b/example/range/foldable.cpp index 2d7f747cd6..e294b543f3 100644 --- a/example/range/foldable.cpp +++ b/example/range/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/iterable.cpp b/example/range/iterable.cpp index 14871c4d97..f696ebc617 100644 --- a/example/range/iterable.cpp +++ b/example/range/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/make.cpp b/example/range/make.cpp index 647816ed4a..0c151054fe 100644 --- a/example/range/make.cpp +++ b/example/range/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/range_c.cpp b/example/range/range_c.cpp index b1598be81e..9b7da7aee6 100644 --- a/example/range/range_c.cpp +++ b/example/range/range_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/range/searchable.cpp b/example/range/searchable.cpp index 8a3d59a8f2..4ffb5205d3 100644 --- a/example/range/searchable.cpp +++ b/example/range/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove.cpp b/example/remove.cpp index e8c6abf3f2..80f96f7808 100644 --- a/example/remove.cpp +++ b/example/remove.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove_at.cpp b/example/remove_at.cpp index a5d14594ba..b0dc9555a4 100644 --- a/example/remove_at.cpp +++ b/example/remove_at.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove_at_c.cpp b/example/remove_at_c.cpp index 1d946ff9e2..e62117961a 100644 --- a/example/remove_at_c.cpp +++ b/example/remove_at_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove_if.cpp b/example/remove_if.cpp index cb200ffe47..83295bb31c 100644 --- a/example/remove_if.cpp +++ b/example/remove_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove_range.cpp b/example/remove_range.cpp index e36ff194f8..dc813f0f6f 100644 --- a/example/remove_range.cpp +++ b/example/remove_range.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/remove_range_c.cpp b/example/remove_range_c.cpp index 41faeed565..742eb9acca 100644 --- a/example/remove_range_c.cpp +++ b/example/remove_range_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/repeat.cpp b/example/repeat.cpp index 71521f16ac..444ac1c84e 100644 --- a/example/repeat.cpp +++ b/example/repeat.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/replace.cpp b/example/replace.cpp index 95914d1097..9d450a2a3c 100644 --- a/example/replace.cpp +++ b/example/replace.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/replace_if.cpp b/example/replace_if.cpp index 641db3bfc8..6f10c473a1 100644 --- a/example/replace_if.cpp +++ b/example/replace_if.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/replicate.cpp b/example/replicate.cpp index d9a5f33a17..df9880b6a4 100644 --- a/example/replicate.cpp +++ b/example/replicate.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/reverse.cpp b/example/reverse.cpp index 983f5619da..91d3db53dd 100644 --- a/example/reverse.cpp +++ b/example/reverse.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/reverse_fold.cpp b/example/reverse_fold.cpp index 766635e30c..96fd77935c 100644 --- a/example/reverse_fold.cpp +++ b/example/reverse_fold.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/scan_left.cpp b/example/scan_left.cpp index 23b8a2bf5a..0e176ac13d 100644 --- a/example/scan_left.cpp +++ b/example/scan_left.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/scan_right.cpp b/example/scan_right.cpp index 9221b44312..42e04d39f8 100644 --- a/example/scan_right.cpp +++ b/example/scan_right.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/second.cpp b/example/second.cpp index 268941aebd..310c886a7f 100644 --- a/example/second.cpp +++ b/example/second.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/applicative.cpp b/example/sequence/applicative.cpp index 36a2a5fe24..c46ffcea81 100644 --- a/example/sequence/applicative.cpp +++ b/example/sequence/applicative.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/comparable.cpp b/example/sequence/comparable.cpp index 16b2408f00..5888a653a7 100644 --- a/example/sequence/comparable.cpp +++ b/example/sequence/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/foldable.cpp b/example/sequence/foldable.cpp index 9c8cbd5908..cdef35f178 100644 --- a/example/sequence/foldable.cpp +++ b/example/sequence/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/functor.cpp b/example/sequence/functor.cpp index f107a697fc..0b26e6474e 100644 --- a/example/sequence/functor.cpp +++ b/example/sequence/functor.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/iterable.cpp b/example/sequence/iterable.cpp index 51855d850b..5a9a879449 100644 --- a/example/sequence/iterable.cpp +++ b/example/sequence/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/make.cpp b/example/sequence/make.cpp index 3d68075246..658e4a194f 100644 --- a/example/sequence/make.cpp +++ b/example/sequence/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/monad.ints.cpp b/example/sequence/monad.ints.cpp index 0c1ef16214..3dccdb8a9c 100644 --- a/example/sequence/monad.ints.cpp +++ b/example/sequence/monad.ints.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/monad.types.cpp b/example/sequence/monad.types.cpp index 5fa081fb28..27ea46da87 100644 --- a/example/sequence/monad.types.cpp +++ b/example/sequence/monad.types.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/monad_plus.cpp b/example/sequence/monad_plus.cpp index 6e7e342a74..ba2f89a3f4 100644 --- a/example/sequence/monad_plus.cpp +++ b/example/sequence/monad_plus.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/orderable.cpp b/example/sequence/orderable.cpp index a43e6688ce..00003587d7 100644 --- a/example/sequence/orderable.cpp +++ b/example/sequence/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sequence/searchable.cpp b/example/sequence/searchable.cpp index 1dffe24dc6..568592bfd1 100644 --- a/example/sequence/searchable.cpp +++ b/example/sequence/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/comparable.cpp b/example/set/comparable.cpp index f62208ee9c..4bc2ecadb1 100644 --- a/example/set/comparable.cpp +++ b/example/set/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/erase_key.cpp b/example/set/erase_key.cpp index 89fc1a9069..d3bc3cd569 100644 --- a/example/set/erase_key.cpp +++ b/example/set/erase_key.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/foldable.cpp b/example/set/foldable.cpp index 08b7da30e8..0f17415eb6 100644 --- a/example/set/foldable.cpp +++ b/example/set/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/insert.cpp b/example/set/insert.cpp index 9e010e0047..47fffc7605 100644 --- a/example/set/insert.cpp +++ b/example/set/insert.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/make.cpp b/example/set/make.cpp index 5fb6ca22e1..08f848340e 100644 --- a/example/set/make.cpp +++ b/example/set/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/searchable.cpp b/example/set/searchable.cpp index b188911d5a..81fa269334 100644 --- a/example/set/searchable.cpp +++ b/example/set/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/set/to.cpp b/example/set/to.cpp index 283b266af1..59f0cb919c 100644 --- a/example/set/to.cpp +++ b/example/set/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/size.cpp b/example/size.cpp index e0936c02d9..f3f44e01a0 100644 --- a/example/size.cpp +++ b/example/size.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/slice.cpp b/example/slice.cpp index 3c2513fe77..9540793127 100644 --- a/example/slice.cpp +++ b/example/slice.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/slice_c.cpp b/example/slice_c.cpp index f5b0a9bb8d..8e1e990aee 100644 --- a/example/slice_c.cpp +++ b/example/slice_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sort.cpp b/example/sort.cpp index a12c373084..59161a980e 100644 --- a/example/sort.cpp +++ b/example/sort.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/span.cpp b/example/span.cpp index 3be806276f..c310956353 100644 --- a/example/span.cpp +++ b/example/span.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/comparable.cpp b/example/string/comparable.cpp index 4c5a0b0c1a..e86d4bb0da 100644 --- a/example/string/comparable.cpp +++ b/example/string/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/foldable.cpp b/example/string/foldable.cpp index 421b43bb98..d1d4661ec2 100644 --- a/example/string/foldable.cpp +++ b/example/string/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/hashable.cpp b/example/string/hashable.cpp index bb224308bd..a781fdefcb 100644 --- a/example/string/hashable.cpp +++ b/example/string/hashable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/iterable.cpp b/example/string/iterable.cpp index 1520abd5e5..af7a2f3830 100644 --- a/example/string/iterable.cpp +++ b/example/string/iterable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/literal.cpp b/example/string/literal.cpp index e4414351c7..feab6f69e9 100644 --- a/example/string/literal.cpp +++ b/example/string/literal.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/macro.cpp b/example/string/macro.cpp index f4715f4d7f..3c2d2ea7df 100644 --- a/example/string/macro.cpp +++ b/example/string/macro.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/make.cpp b/example/string/make.cpp index 557aace767..c7bac05d86 100644 --- a/example/string/make.cpp +++ b/example/string/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/monoid.cpp b/example/string/monoid.cpp index 5774640a19..305e6351f2 100644 --- a/example/string/monoid.cpp +++ b/example/string/monoid.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/orderable.cpp b/example/string/orderable.cpp index a863896b71..21faeaa276 100644 --- a/example/string/orderable.cpp +++ b/example/string/orderable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/searchable.cpp b/example/string/searchable.cpp index 8160687e29..b7e2175aff 100644 --- a/example/string/searchable.cpp +++ b/example/string/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/string_c.cpp b/example/string/string_c.cpp index 64bcb0e2d6..3272340784 100644 --- a/example/string/string_c.cpp +++ b/example/string/string_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/string/to.cpp b/example/string/to.cpp index 98adcb2b0d..16109a235c 100644 --- a/example/string/to.cpp +++ b/example/string/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct.custom_accessor.cpp b/example/struct.custom_accessor.cpp index de727174a9..1328d01c92 100644 --- a/example/struct.custom_accessor.cpp +++ b/example/struct.custom_accessor.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct.mcd.nested.cpp b/example/struct.mcd.nested.cpp index 80ac803268..3ba10a3740 100644 --- a/example/struct.mcd.nested.cpp +++ b/example/struct.mcd.nested.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct.mcd.tag_dispatching.cpp b/example/struct.mcd.tag_dispatching.cpp index b0ccc18063..9788e83053 100644 --- a/example/struct.mcd.tag_dispatching.cpp +++ b/example/struct.mcd.tag_dispatching.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct/comparable.cpp b/example/struct/comparable.cpp index 9c053d9819..238f4dc5f1 100644 --- a/example/struct/comparable.cpp +++ b/example/struct/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct/foldable.cpp b/example/struct/foldable.cpp index d182c4008a..40a045f5b1 100644 --- a/example/struct/foldable.cpp +++ b/example/struct/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct/keys.cpp b/example/struct/keys.cpp index 5ec271bfb0..37e97040a7 100644 --- a/example/struct/keys.cpp +++ b/example/struct/keys.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct/searchable.cpp b/example/struct/searchable.cpp index ce25f182b8..3d7e5b792f 100644 --- a/example/struct/searchable.cpp +++ b/example/struct/searchable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/struct/to.cpp b/example/struct/to.cpp index 133f403db4..501f72608d 100644 --- a/example/struct/to.cpp +++ b/example/struct/to.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/suffix.cpp b/example/suffix.cpp index eb3979bcf7..8d2f519299 100644 --- a/example/suffix.cpp +++ b/example/suffix.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/sum.cpp b/example/sum.cpp index ef31ca5497..3fded1a4e6 100644 --- a/example/sum.cpp +++ b/example/sum.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/symmetric_difference.cpp b/example/symmetric_difference.cpp index a011f6ecc7..7d004e9fd1 100644 --- a/example/symmetric_difference.cpp +++ b/example/symmetric_difference.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/take_back.cpp b/example/take_back.cpp index b33689f3d8..e4a988b0b2 100644 --- a/example/take_back.cpp +++ b/example/take_back.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/take_front.cpp b/example/take_front.cpp index 69dc72f283..347619a71a 100644 --- a/example/take_front.cpp +++ b/example/take_front.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/take_front_c.cpp b/example/take_front_c.cpp index a20fe0823b..554bb48594 100644 --- a/example/take_front_c.cpp +++ b/example/take_front_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/take_while.cpp b/example/take_while.cpp index 1108a7b835..79f6b21e80 100644 --- a/example/take_while.cpp +++ b/example/take_while.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tap.cpp b/example/tap.cpp index 165f878a1c..6c93eeb557 100644 --- a/example/tap.cpp +++ b/example/tap.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/then.cpp b/example/then.cpp index faabb6e013..40c192c1de 100644 --- a/example/then.cpp +++ b/example/then.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/transform.cpp b/example/transform.cpp index 372d6f0800..fd330ba368 100644 --- a/example/transform.cpp +++ b/example/transform.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/foldable.cpp b/example/tuple/foldable.cpp index 14183d345a..8a5354e391 100644 --- a/example/tuple/foldable.cpp +++ b/example/tuple/foldable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/interop.cpp b/example/tuple/interop.cpp index 4be8adf586..cc274aee82 100644 --- a/example/tuple/interop.cpp +++ b/example/tuple/interop.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/make.cpp b/example/tuple/make.cpp index 50d0586c6b..e88fe38ac0 100644 --- a/example/tuple/make.cpp +++ b/example/tuple/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/tuple.cpp b/example/tuple/tuple.cpp index 94db12bc51..e16ff8d075 100644 --- a/example/tuple/tuple.cpp +++ b/example/tuple/tuple.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/tuple_c.cpp b/example/tuple/tuple_c.cpp index facaa898f4..8da09554cb 100644 --- a/example/tuple/tuple_c.cpp +++ b/example/tuple/tuple_c.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tuple/tuple_t.cpp b/example/tuple/tuple_t.cpp index f6dca71910..7da9107e56 100644 --- a/example/tuple/tuple_t.cpp +++ b/example/tuple/tuple_t.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/algorithms.cpp b/example/tutorial/algorithms.cpp index 16a8bf6145..9afe86b1ed 100644 --- a/example/tutorial/algorithms.cpp +++ b/example/tutorial/algorithms.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/appendix_mpl.cpp b/example/tutorial/appendix_mpl.cpp index 162831a6ec..3174af2ce4 100644 --- a/example/tutorial/appendix_mpl.cpp +++ b/example/tutorial/appendix_mpl.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/concepts.cpp b/example/tutorial/concepts.cpp index b98798be93..751b473098 100644 --- a/example/tutorial/concepts.cpp +++ b/example/tutorial/concepts.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/constant_side_effects.cpp b/example/tutorial/constant_side_effects.cpp index bfa63d4407..ea81ec08ec 100644 --- a/example/tutorial/constant_side_effects.cpp +++ b/example/tutorial/constant_side_effects.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/containers.cpp b/example/tutorial/containers.cpp index f98f755d9c..fe92427044 100644 --- a/example/tutorial/containers.cpp +++ b/example/tutorial/containers.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/ext/fusion_to_hana.cpp b/example/tutorial/ext/fusion_to_hana.cpp index d23f1d9733..8b6a334d40 100644 --- a/example/tutorial/ext/fusion_to_hana.cpp +++ b/example/tutorial/ext/fusion_to_hana.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/ext/mpl_vector.cpp b/example/tutorial/ext/mpl_vector.cpp index 49d5dbaa13..2802bafe6d 100644 --- a/example/tutorial/ext/mpl_vector.cpp +++ b/example/tutorial/ext/mpl_vector.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/ext/ratio_plus.cpp b/example/tutorial/ext/ratio_plus.cpp index 763856ae49..e3c15546fa 100644 --- a/example/tutorial/ext/ratio_plus.cpp +++ b/example/tutorial/ext/ratio_plus.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/include_ext.cpp b/example/tutorial/include_ext.cpp index 89ccd2c69a..d753d6249b 100644 --- a/example/tutorial/include_ext.cpp +++ b/example/tutorial/include_ext.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/integral-branching.cpp b/example/tutorial/integral-branching.cpp index 78c919db69..7e93f9402a 100644 --- a/example/tutorial/integral-branching.cpp +++ b/example/tutorial/integral-branching.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/integral.cpp b/example/tutorial/integral.cpp index 0738780f4f..6e91b14d7b 100644 --- a/example/tutorial/integral.cpp +++ b/example/tutorial/integral.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/introduction.cpp b/example/tutorial/introduction.cpp index 224ffe4767..1cafff047a 100644 --- a/example/tutorial/introduction.cpp +++ b/example/tutorial/introduction.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/introspection.adapt.cpp b/example/tutorial/introspection.adapt.cpp index 668613da4f..bfdf4453c9 100644 --- a/example/tutorial/introspection.adapt.cpp +++ b/example/tutorial/introspection.adapt.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/introspection.cpp b/example/tutorial/introspection.cpp index 8b8543fc0b..4b53ecc934 100644 --- a/example/tutorial/introspection.cpp +++ b/example/tutorial/introspection.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/introspection.json.cpp b/example/tutorial/introspection.json.cpp index 7209eb9b89..d81dd001a1 100644 --- a/example/tutorial/introspection.json.cpp +++ b/example/tutorial/introspection.json.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/introspection.sfinae.cpp b/example/tutorial/introspection.sfinae.cpp index d7079ee793..9b987ff9b8 100644 --- a/example/tutorial/introspection.sfinae.cpp +++ b/example/tutorial/introspection.sfinae.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/mpl_cheatsheet.cpp b/example/tutorial/mpl_cheatsheet.cpp index df4811dce3..d9e87345aa 100644 --- a/example/tutorial/mpl_cheatsheet.cpp +++ b/example/tutorial/mpl_cheatsheet.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/quickstart.cpp b/example/tutorial/quickstart.cpp index 688cab57e3..6358e503bb 100644 --- a/example/tutorial/quickstart.cpp +++ b/example/tutorial/quickstart.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/quickstart.switchAny.cpp b/example/tutorial/quickstart.switchAny.cpp index a63ac4c6cd..4456aef32e 100644 --- a/example/tutorial/quickstart.switchAny.cpp +++ b/example/tutorial/quickstart.switchAny.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/rationale.container.cpp b/example/tutorial/rationale.container.cpp index 3a713c0f6d..9d419af15e 100644 --- a/example/tutorial/rationale.container.cpp +++ b/example/tutorial/rationale.container.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/tag_dispatching.cpp b/example/tutorial/tag_dispatching.cpp index a06cb7e8a6..0868223887 100644 --- a/example/tutorial/tag_dispatching.cpp +++ b/example/tutorial/tag_dispatching.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/tutorial/type.cpp b/example/tutorial/type.cpp index 16eb84330e..92010d499f 100644 --- a/example/tutorial/type.cpp +++ b/example/tutorial/type.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/alignof.cpp b/example/type/alignof.cpp index 554ad20240..b4fb945253 100644 --- a/example/type/alignof.cpp +++ b/example/type/alignof.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/basic_type.cpp b/example/type/basic_type.cpp index c70381ae7c..e3104d6555 100644 --- a/example/type/basic_type.cpp +++ b/example/type/basic_type.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/comparable.cpp b/example/type/comparable.cpp index c60eea9eb2..19eb282bd5 100644 --- a/example/type/comparable.cpp +++ b/example/type/comparable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/decltype.cpp b/example/type/decltype.cpp index 84b8af92a1..45110f1ac3 100644 --- a/example/type/decltype.cpp +++ b/example/type/decltype.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/hashable.cpp b/example/type/hashable.cpp index 5be5ae111d..eaecfff12d 100644 --- a/example/type/hashable.cpp +++ b/example/type/hashable.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/integral.cpp b/example/type/integral.cpp index 7e1b180b5d..612665de90 100644 --- a/example/type/integral.cpp +++ b/example/type/integral.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/is_valid.cpp b/example/type/is_valid.cpp index 1a6ab0d4af..a683e78f1b 100644 --- a/example/type/is_valid.cpp +++ b/example/type/is_valid.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/make.cpp b/example/type/make.cpp index efaadbee8e..97bb4a11fd 100644 --- a/example/type/make.cpp +++ b/example/type/make.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/metafunction.cpp b/example/type/metafunction.cpp index 087bea7dc5..a60d607786 100644 --- a/example/type/metafunction.cpp +++ b/example/type/metafunction.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/metafunction_class.cpp b/example/type/metafunction_class.cpp index 65fd25234f..f01e26719e 100644 --- a/example/type/metafunction_class.cpp +++ b/example/type/metafunction_class.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/sizeof.cpp b/example/type/sizeof.cpp index 348c73a008..300015dd28 100644 --- a/example/type/sizeof.cpp +++ b/example/type/sizeof.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/template.cpp b/example/type/template.cpp index 2633ecdcd5..3840cc7c09 100644 --- a/example/type/template.cpp +++ b/example/type/template.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/trait.cpp b/example/type/trait.cpp index a1006a2ddd..31064bc7b6 100644 --- a/example/type/trait.cpp +++ b/example/type/trait.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/type/typeid.cpp b/example/type/typeid.cpp index d023f0a8a4..f219aec397 100644 --- a/example/type/typeid.cpp +++ b/example/type/typeid.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/unfold_left.cpp b/example/unfold_left.cpp index e2fc8f458b..4d77d01cf7 100644 --- a/example/unfold_left.cpp +++ b/example/unfold_left.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/unfold_right.cpp b/example/unfold_right.cpp index b7b1d65be6..f4599ddcb0 100644 --- a/example/unfold_right.cpp +++ b/example/unfold_right.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/union.cpp b/example/union.cpp index a7504056cb..68726e60de 100644 --- a/example/union.cpp +++ b/example/union.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/unique.cpp b/example/unique.cpp index 7e9d6d01dd..4f3b67c667 100644 --- a/example/unique.cpp +++ b/example/unique.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/unpack.cpp b/example/unpack.cpp index 72738e5bae..f2ceb5da05 100644 --- a/example/unpack.cpp +++ b/example/unpack.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/value.cpp b/example/value.cpp index b27bfc9d14..d78f2878c7 100644 --- a/example/value.cpp +++ b/example/value.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/value_of.cpp b/example/value_of.cpp index 10f0c120f5..413cf6d005 100644 --- a/example/value_of.cpp +++ b/example/value_of.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/version.cpp b/example/version.cpp index 7d87d96d42..9d18fa9e71 100644 --- a/example/version.cpp +++ b/example/version.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/wandbox.cpp b/example/wandbox.cpp index 5397c26570..b56465d691 100644 --- a/example/wandbox.cpp +++ b/example/wandbox.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/while.cpp b/example/while.cpp index dc25c5fd7f..73dc27f91d 100644 --- a/example/while.cpp +++ b/example/while.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/zero.cpp b/example/zero.cpp index fef5293d96..d6f92383b9 100644 --- a/example/zero.cpp +++ b/example/zero.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/zip.cpp b/example/zip.cpp index ee5fcd7f2e..4c03c49af8 100644 --- a/example/zip.cpp +++ b/example/zip.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/zip_shortest.cpp b/example/zip_shortest.cpp index 3cf142bc9d..860a27e127 100644 --- a/example/zip_shortest.cpp +++ b/example/zip_shortest.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/zip_shortest_with.cpp b/example/zip_shortest_with.cpp index 6a585f683c..ea5a40fa59 100644 --- a/example/zip_shortest_with.cpp +++ b/example/zip_shortest_with.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/example/zip_with.cpp b/example/zip_with.cpp index 47ce98eb7f..917daa3657 100644 --- a/example/zip_with.cpp +++ b/example/zip_with.cpp @@ -1,4 +1,4 @@ -// Copyright Louis Dionne 2013-2016 +// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) diff --git a/experimental/CMakeLists.txt b/experimental/CMakeLists.txt deleted file mode 100644 index fcf576fa9d..0000000000 --- a/experimental/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright Louis Dionne 2013-2016 -# Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) - -# Setup custom functions, master targets and file lists for the unit tests -add_custom_target(experimental COMMENT "Build all the experimental code.") -add_dependencies(check experimental) - -# Add all the experimental targets -file(GLOB_RECURSE BOOST_HANA_EXPERIMENTAL_SOURCES "*.cpp") - -# GCC fails to link strong_datatypes.cpp due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70095 -if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") - list(APPEND EXCLUDED_EXPERIMENTAL "strong_datatypes.cpp") -endif() - -file(GLOB_RECURSE EXCLUDED_EXPERIMENTAL ${EXCLUDED_EXPERIMENTAL}) -list(REMOVE_ITEM BOOST_HANA_EXPERIMENTAL_SOURCES "" ${EXCLUDED_EXPERIMENTAL}) - -foreach(file IN LISTS BOOST_HANA_EXPERIMENTAL_SOURCES) - boost_hana_target_name_for(target "${file}") - add_executable(${target} EXCLUDE_FROM_ALL ${file}) - target_link_libraries(${target} hana) - boost_hana_add_test(${target} ${CMAKE_CURRENT_BINARY_DIR}/${target}) - add_dependencies(experimental ${target}) -endforeach() diff --git a/experimental/strong_datatypes.cpp b/experimental/strong_datatypes.cpp deleted file mode 100644 index 6b5520bf33..0000000000 --- a/experimental/strong_datatypes.cpp +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright Louis Dionne 2013-2016 -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) - -#include -#include -#include -#include -#include -namespace hana = boost::hana; - - -namespace wrap_detail { - template - struct wrapper { - X unwrap; - using hana_tag = Datatype; - }; - - template - struct wrap_impl { - template - constexpr auto operator()(X x) const { - return wrapper{x}; - } - }; -} - -template -constexpr wrap_detail::wrap_impl wrap{}; - -BOOST_HANA_CONSTEXPR_LAMBDA auto unwrap = [](auto x) { - return x.unwrap; -}; - -////////////////////////////////////////////////////////////////////////////// -// core -////////////////////////////////////////////////////////////////////////////// -template -struct not_implemented; - - -////////////////////////////////////////////////////////////////////////////// -// Functor -////////////////////////////////////////////////////////////////////////////// -template -not_implemented fmap_impl{}; - -auto fmap = [](auto x, auto f) { - return fmap_impl< - hana::tag_of_t, - hana::tag_of_t - >(x, f); -}; - - -////////////////////////////////////////////////////////////////////////////// -// Applicative -////////////////////////////////////////////////////////////////////////////// -template -not_implemented ap_impl{}; - -auto ap = [](auto f, auto x) { - return ap_impl< - hana::tag_of_t, - hana::tag_of_t - >(f, x); -}; - -template -not_implemented lift_impl{}; - -template