diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/hana/fwd | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/hana/fwd')
172 files changed, 221 insertions, 191 deletions
diff --git a/boost/hana/fwd/accessors.hpp b/boost/hana/fwd/accessors.hpp index 8ad5f1b131..ca337d1965 100644 --- a/boost/hana/fwd/accessors.hpp +++ b/boost/hana/fwd/accessors.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::accessors`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/adapt_adt.hpp b/boost/hana/fwd/adapt_adt.hpp index 4b8614a612..a7658ca628 100644 --- a/boost/hana/fwd/adapt_adt.hpp +++ b/boost/hana/fwd/adapt_adt.hpp @@ -2,7 +2,7 @@ @file Documents the `BOOST_HANA_ADAPT_ADT` macro. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/adapt_struct.hpp b/boost/hana/fwd/adapt_struct.hpp index 691eecaf15..b03da6463b 100644 --- a/boost/hana/fwd/adapt_struct.hpp +++ b/boost/hana/fwd/adapt_struct.hpp @@ -2,7 +2,7 @@ @file Documents the `BOOST_HANA_ADAPT_STRUCT` macro. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/adjust.hpp b/boost/hana/fwd/adjust.hpp index c4a8783e9f..8fec6f0b3d 100644 --- a/boost/hana/fwd/adjust.hpp +++ b/boost/hana/fwd/adjust.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::adjust`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/adjust_if.hpp b/boost/hana/fwd/adjust_if.hpp index fac3cbf0e4..017ac03972 100644 --- a/boost/hana/fwd/adjust_if.hpp +++ b/boost/hana/fwd/adjust_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::adjust_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/all.hpp b/boost/hana/fwd/all.hpp index eb92a0c1e1..eca239ebef 100644 --- a/boost/hana/fwd/all.hpp +++ b/boost/hana/fwd/all.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::all`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/all_of.hpp b/boost/hana/fwd/all_of.hpp index 33fcbfc96d..3aabf29063 100644 --- a/boost/hana/fwd/all_of.hpp +++ b/boost/hana/fwd/all_of.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::all_of`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/and.hpp b/boost/hana/fwd/and.hpp index df767ebd1f..026cacabaf 100644 --- a/boost/hana/fwd/and.hpp +++ b/boost/hana/fwd/and.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::and_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/any.hpp b/boost/hana/fwd/any.hpp index 2adf3beeee..6281236ad6 100644 --- a/boost/hana/fwd/any.hpp +++ b/boost/hana/fwd/any.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::any`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/any_of.hpp b/boost/hana/fwd/any_of.hpp index a8cf77596d..a9408bd1b5 100644 --- a/boost/hana/fwd/any_of.hpp +++ b/boost/hana/fwd/any_of.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::any_of`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/ap.hpp b/boost/hana/fwd/ap.hpp index 4d71abadd1..6f7b147090 100644 --- a/boost/hana/fwd/ap.hpp +++ b/boost/hana/fwd/ap.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::ap`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/append.hpp b/boost/hana/fwd/append.hpp index fd9efc3d53..94b2105c93 100644 --- a/boost/hana/fwd/append.hpp +++ b/boost/hana/fwd/append.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::append`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/at.hpp b/boost/hana/fwd/at.hpp index 9b1195d3d6..ea03114ed7 100644 --- a/boost/hana/fwd/at.hpp +++ b/boost/hana/fwd/at.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::at` and `boost::hana::at_c`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/at_key.hpp b/boost/hana/fwd/at_key.hpp index 08a29feff1..29134565a5 100644 --- a/boost/hana/fwd/at_key.hpp +++ b/boost/hana/fwd/at_key.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::at_key`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/back.hpp b/boost/hana/fwd/back.hpp index 197120aff7..8356cddeab 100644 --- a/boost/hana/fwd/back.hpp +++ b/boost/hana/fwd/back.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::back`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/basic_tuple.hpp b/boost/hana/fwd/basic_tuple.hpp index e2e78fbbcf..8444f0f50e 100644 --- a/boost/hana/fwd/basic_tuple.hpp +++ b/boost/hana/fwd/basic_tuple.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::basic_tuple`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/bool.hpp b/boost/hana/fwd/bool.hpp index 1bb712c99e..123c992c62 100644 --- a/boost/hana/fwd/bool.hpp +++ b/boost/hana/fwd/bool.hpp @@ -2,7 +2,7 @@ @file Includes boost/hana/fwd/integral_constant.hpp. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/cartesian_product.hpp b/boost/hana/fwd/cartesian_product.hpp index 4ea70626a6..a3a48f23f3 100644 --- a/boost/hana/fwd/cartesian_product.hpp +++ b/boost/hana/fwd/cartesian_product.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::cartesian_product`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/chain.hpp b/boost/hana/fwd/chain.hpp index e6ec0e141f..aa7f311057 100644 --- a/boost/hana/fwd/chain.hpp +++ b/boost/hana/fwd/chain.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::chain`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/comparing.hpp b/boost/hana/fwd/comparing.hpp index c508d48a21..376ab173c7 100644 --- a/boost/hana/fwd/comparing.hpp +++ b/boost/hana/fwd/comparing.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::comparing`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concat.hpp b/boost/hana/fwd/concat.hpp index ed87f71ec1..140c847909 100644 --- a/boost/hana/fwd/concat.hpp +++ b/boost/hana/fwd/concat.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::concat`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/applicative.hpp b/boost/hana/fwd/concept/applicative.hpp index 8f5db93042..2c8677940c 100644 --- a/boost/hana/fwd/concept/applicative.hpp +++ b/boost/hana/fwd/concept/applicative.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Applicative`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/comonad.hpp b/boost/hana/fwd/concept/comonad.hpp index 0c3627576b..b2693078b0 100644 --- a/boost/hana/fwd/concept/comonad.hpp +++ b/boost/hana/fwd/concept/comonad.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Comonad`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/comparable.hpp b/boost/hana/fwd/concept/comparable.hpp index 555dfdfa34..9624c87038 100644 --- a/boost/hana/fwd/concept/comparable.hpp +++ b/boost/hana/fwd/concept/comparable.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Comparable`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/constant.hpp b/boost/hana/fwd/concept/constant.hpp index a9c1467dbc..bab44a7cb2 100644 --- a/boost/hana/fwd/concept/constant.hpp +++ b/boost/hana/fwd/concept/constant.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Constant`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 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,7 +30,7 @@ BOOST_HANA_NAMESPACE_BEGIN //! Let `C(T)` and `D(U)` denote the tags of `Constant`s holding objects //! of type `T` and `U`, respectively. Then, an object with tag `D(U)` //! must be convertible to an object with tag `C(T)` whenever `U` is - //! convertible to `T`, has determined by `is_convertible`. The + //! convertible to `T`, as determined by `is_convertible`. The //! interpretation here is that a `Constant` is just a box holding //! an object of some type, and it should be possible to swap between //! boxes whenever the objects inside the boxes can be swapped. @@ -59,7 +59,7 @@ BOOST_HANA_NAMESPACE_BEGIN //! of the wrapped object is always a constant expression by requiring //! the following to be well-formed: //! @code - //! constexpr auto x = hana::value<decltype(x)>(); + //! constexpr auto x = hana::value<decltype(c)>(); //! @endcode //! //! This means that the `value` function must return an object that can @@ -146,7 +146,7 @@ BOOST_HANA_NAMESPACE_BEGIN //! conversion of underlying types is an embedding. This is to allow //! Constants to inter-operate with `constexpr` objects easily: //! @code - //! plus(int_<1>, 1) == 2 + //! plus(int_c<1>, 1) == 2 //! @endcode //! //! Strictly speaking, __this is sometimes a violation__ of what it means @@ -160,25 +160,25 @@ BOOST_HANA_NAMESPACE_BEGIN //! `constexpr` object of not. In other words, the `to` method has no way //! to differentiate between //! @code - //! constexpr int i = hana::to<int>(int_<1>); + //! constexpr int i = hana::to<int>(int_c<1>); //! @endcode //! which is an embedding, and //! @code - //! int i = hana::to<int>(int_<1>); + //! int i = hana::to<int>(int_c<1>); //! @endcode //! //! which isn't. To be on the safer side, we could mark the conversion //! as not-an-embedding. However, if e.g. the conversion from //! `integral_constant_tag<int>` to `int` was not marked as an embedding, - //! we would have to write `plus(to<int>(int_<1>), 1)` instead of just - //! `plus(int_<1>, 1)`, which is cumbersome. Hence, the conversion is + //! we would have to write `plus(to<int>(int_c<1>), 1)` instead of just + //! `plus(int_c<1>, 1)`, which is cumbersome. Hence, the conversion is //! marked as an embedding, but this also means that code like //! @code //! int i = 1; - //! plus(int_<1>, i); + //! plus(int_c<1>, i); //! @endcode //! will be considered valid, which implicitly loses the fact that - //! `int_<1>` is a Constant, and hence does not follow the usual rules + //! `int_c<1>` is a Constant, and hence does not follow the usual rules //! for cross-type operations in Hana. //! //! diff --git a/boost/hana/fwd/concept/euclidean_ring.hpp b/boost/hana/fwd/concept/euclidean_ring.hpp index b33d8b565c..8b8744c29d 100644 --- a/boost/hana/fwd/concept/euclidean_ring.hpp +++ b/boost/hana/fwd/concept/euclidean_ring.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::EuclideanRing`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/foldable.hpp b/boost/hana/fwd/concept/foldable.hpp index 6e460ad435..09de170455 100644 --- a/boost/hana/fwd/concept/foldable.hpp +++ b/boost/hana/fwd/concept/foldable.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Foldable`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/functor.hpp b/boost/hana/fwd/concept/functor.hpp index 6d2ea170f6..f46ad24c73 100644 --- a/boost/hana/fwd/concept/functor.hpp +++ b/boost/hana/fwd/concept/functor.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Functor`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/group.hpp b/boost/hana/fwd/concept/group.hpp index a7ec238d54..6afec94502 100644 --- a/boost/hana/fwd/concept/group.hpp +++ b/boost/hana/fwd/concept/group.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Group`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/integral_constant.hpp b/boost/hana/fwd/concept/integral_constant.hpp index ba82c52931..161062e2be 100644 --- a/boost/hana/fwd/concept/integral_constant.hpp +++ b/boost/hana/fwd/concept/integral_constant.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::IntegralConstant`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/iterable.hpp b/boost/hana/fwd/concept/iterable.hpp index f406b2186b..59c8520b62 100644 --- a/boost/hana/fwd/concept/iterable.hpp +++ b/boost/hana/fwd/concept/iterable.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Iterable`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/logical.hpp b/boost/hana/fwd/concept/logical.hpp index 7eecf9d857..f9cfde986c 100644 --- a/boost/hana/fwd/concept/logical.hpp +++ b/boost/hana/fwd/concept/logical.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Logical`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/metafunction.hpp b/boost/hana/fwd/concept/metafunction.hpp index 00efc049e3..72884911f3 100644 --- a/boost/hana/fwd/concept/metafunction.hpp +++ b/boost/hana/fwd/concept/metafunction.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Metafunction`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/monad.hpp b/boost/hana/fwd/concept/monad.hpp index 1dee78331d..b310868e44 100644 --- a/boost/hana/fwd/concept/monad.hpp +++ b/boost/hana/fwd/concept/monad.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Monad`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/monad_plus.hpp b/boost/hana/fwd/concept/monad_plus.hpp index a7ac03c4d3..dcdf65e210 100644 --- a/boost/hana/fwd/concept/monad_plus.hpp +++ b/boost/hana/fwd/concept/monad_plus.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::MonadPlus`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/monoid.hpp b/boost/hana/fwd/concept/monoid.hpp index 5486d3d1d8..381e29dff7 100644 --- a/boost/hana/fwd/concept/monoid.hpp +++ b/boost/hana/fwd/concept/monoid.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Monoid`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/orderable.hpp b/boost/hana/fwd/concept/orderable.hpp index ed381de94a..7c4cf233db 100644 --- a/boost/hana/fwd/concept/orderable.hpp +++ b/boost/hana/fwd/concept/orderable.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Orderable`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/product.hpp b/boost/hana/fwd/concept/product.hpp index f3b2feb705..0d029fdb11 100644 --- a/boost/hana/fwd/concept/product.hpp +++ b/boost/hana/fwd/concept/product.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Product`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/ring.hpp b/boost/hana/fwd/concept/ring.hpp index 91d150214e..45b301f272 100644 --- a/boost/hana/fwd/concept/ring.hpp +++ b/boost/hana/fwd/concept/ring.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Ring`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/searchable.hpp b/boost/hana/fwd/concept/searchable.hpp index 8a0491b2ec..2c1e22fc4a 100644 --- a/boost/hana/fwd/concept/searchable.hpp +++ b/boost/hana/fwd/concept/searchable.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Searchable`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/sequence.hpp b/boost/hana/fwd/concept/sequence.hpp index 7f9df2e39d..84cedd1263 100644 --- a/boost/hana/fwd/concept/sequence.hpp +++ b/boost/hana/fwd/concept/sequence.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Sequence`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/concept/struct.hpp b/boost/hana/fwd/concept/struct.hpp index f6829466bb..d9d0cffb58 100644 --- a/boost/hana/fwd/concept/struct.hpp +++ b/boost/hana/fwd/concept/struct.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::Struct`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/contains.hpp b/boost/hana/fwd/contains.hpp index f717f6738c..eb338281c1 100644 --- a/boost/hana/fwd/contains.hpp +++ b/boost/hana/fwd/contains.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::contains` and `boost::hana::in`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core.hpp b/boost/hana/fwd/core.hpp index 10fad8ace9..a25a159582 100644 --- a/boost/hana/fwd/core.hpp +++ b/boost/hana/fwd/core.hpp @@ -2,7 +2,7 @@ @file Forward declares the @ref group-core module. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/common.hpp b/boost/hana/fwd/core/common.hpp index 29702f23d5..d2dcac59f7 100644 --- a/boost/hana/fwd/core/common.hpp +++ b/boost/hana/fwd/core/common.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::common` and `boost::hana::common_t`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/default.hpp b/boost/hana/fwd/core/default.hpp index 58e3f060f3..978c9a5f0c 100644 --- a/boost/hana/fwd/core/default.hpp +++ b/boost/hana/fwd/core/default.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::default_` and `boost::hana::is_default`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/is_a.hpp b/boost/hana/fwd/core/is_a.hpp index 5a90c6d55b..956549aa16 100644 --- a/boost/hana/fwd/core/is_a.hpp +++ b/boost/hana/fwd/core/is_a.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::is_a` and `boost::hana::is_an`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/make.hpp b/boost/hana/fwd/core/make.hpp index 56354b6813..0ed5d0f19e 100644 --- a/boost/hana/fwd/core/make.hpp +++ b/boost/hana/fwd/core/make.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::make`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/tag_of.hpp b/boost/hana/fwd/core/tag_of.hpp index a2e7cc5605..bcc4ef8e53 100644 --- a/boost/hana/fwd/core/tag_of.hpp +++ b/boost/hana/fwd/core/tag_of.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::tag_of` and `boost::hana::tag_of_t`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/to.hpp b/boost/hana/fwd/core/to.hpp index e41d36ee0a..108484c2ce 100644 --- a/boost/hana/fwd/core/to.hpp +++ b/boost/hana/fwd/core/to.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::to` and related utilities. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/core/when.hpp b/boost/hana/fwd/core/when.hpp index 857dc2581d..cc7659628d 100644 --- a/boost/hana/fwd/core/when.hpp +++ b/boost/hana/fwd/core/when.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::when` and `boost::hana::when_valid`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/count.hpp b/boost/hana/fwd/count.hpp index ffa4a1a65a..3bfdda53d6 100644 --- a/boost/hana/fwd/count.hpp +++ b/boost/hana/fwd/count.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::count`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/count_if.hpp b/boost/hana/fwd/count_if.hpp index 8d4b9283a9..8be0a42638 100644 --- a/boost/hana/fwd/count_if.hpp +++ b/boost/hana/fwd/count_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::count_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/cycle.hpp b/boost/hana/fwd/cycle.hpp index 4d23b8d821..268e7daf43 100644 --- a/boost/hana/fwd/cycle.hpp +++ b/boost/hana/fwd/cycle.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::cycle`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/define_struct.hpp b/boost/hana/fwd/define_struct.hpp index b4adb89f5c..831f6872a4 100644 --- a/boost/hana/fwd/define_struct.hpp +++ b/boost/hana/fwd/define_struct.hpp @@ -2,7 +2,7 @@ @file Documents the `BOOST_HANA_DEFINE_STRUCT` macro. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/difference.hpp b/boost/hana/fwd/difference.hpp index 44916198e5..3702f075e0 100644 --- a/boost/hana/fwd/difference.hpp +++ b/boost/hana/fwd/difference.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::difference`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/div.hpp b/boost/hana/fwd/div.hpp index 82684d7162..6f35b4abe3 100644 --- a/boost/hana/fwd/div.hpp +++ b/boost/hana/fwd/div.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::div`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/drop_back.hpp b/boost/hana/fwd/drop_back.hpp index 814382e855..440e925322 100644 --- a/boost/hana/fwd/drop_back.hpp +++ b/boost/hana/fwd/drop_back.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::drop_back`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/drop_front.hpp b/boost/hana/fwd/drop_front.hpp index b76c710ef7..298499180c 100644 --- a/boost/hana/fwd/drop_front.hpp +++ b/boost/hana/fwd/drop_front.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::drop_front`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/drop_front_exactly.hpp b/boost/hana/fwd/drop_front_exactly.hpp index 3cb11d76a7..17a55e6d66 100644 --- a/boost/hana/fwd/drop_front_exactly.hpp +++ b/boost/hana/fwd/drop_front_exactly.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::drop_front_exactly`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/drop_while.hpp b/boost/hana/fwd/drop_while.hpp index ef555f8609..2d5557e5a7 100644 --- a/boost/hana/fwd/drop_while.hpp +++ b/boost/hana/fwd/drop_while.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::drop_while`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/duplicate.hpp b/boost/hana/fwd/duplicate.hpp index b1a0af242b..bac61e0bd9 100644 --- a/boost/hana/fwd/duplicate.hpp +++ b/boost/hana/fwd/duplicate.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::duplicate`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/empty.hpp b/boost/hana/fwd/empty.hpp index 90a3696357..ed3cc38cc7 100644 --- a/boost/hana/fwd/empty.hpp +++ b/boost/hana/fwd/empty.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::empty`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/equal.hpp b/boost/hana/fwd/equal.hpp index e72614407d..e9f8c4bd6e 100644 --- a/boost/hana/fwd/equal.hpp +++ b/boost/hana/fwd/equal.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::equal`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/erase_key.hpp b/boost/hana/fwd/erase_key.hpp index 4612424802..49471d61cf 100644 --- a/boost/hana/fwd/erase_key.hpp +++ b/boost/hana/fwd/erase_key.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::erase_key`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/eval.hpp b/boost/hana/fwd/eval.hpp index d1d0b7f488..d068f992f5 100644 --- a/boost/hana/fwd/eval.hpp +++ b/boost/hana/fwd/eval.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::eval`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/eval_if.hpp b/boost/hana/fwd/eval_if.hpp index 865e561c99..2bc8736b12 100644 --- a/boost/hana/fwd/eval_if.hpp +++ b/boost/hana/fwd/eval_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::eval_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/extend.hpp b/boost/hana/fwd/extend.hpp index 6cbf1ffc2b..65b68d8011 100644 --- a/boost/hana/fwd/extend.hpp +++ b/boost/hana/fwd/extend.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::extend`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/extract.hpp b/boost/hana/fwd/extract.hpp index 8a9917bc66..1e71727143 100644 --- a/boost/hana/fwd/extract.hpp +++ b/boost/hana/fwd/extract.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::extract`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/fill.hpp b/boost/hana/fwd/fill.hpp index 38a4a35c96..6946c6ffd8 100644 --- a/boost/hana/fwd/fill.hpp +++ b/boost/hana/fwd/fill.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::fill`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/filter.hpp b/boost/hana/fwd/filter.hpp index b0db0b6006..f31b30df52 100644 --- a/boost/hana/fwd/filter.hpp +++ b/boost/hana/fwd/filter.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::filter`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/find.hpp b/boost/hana/fwd/find.hpp index 00c74d1a43..cc88d6f239 100644 --- a/boost/hana/fwd/find.hpp +++ b/boost/hana/fwd/find.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::find`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/find_if.hpp b/boost/hana/fwd/find_if.hpp index 7c8b8664f1..d6fca44600 100644 --- a/boost/hana/fwd/find_if.hpp +++ b/boost/hana/fwd/find_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::find_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/first.hpp b/boost/hana/fwd/first.hpp index 8cfef1472e..0a62a8344f 100644 --- a/boost/hana/fwd/first.hpp +++ b/boost/hana/fwd/first.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::first`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/flatten.hpp b/boost/hana/fwd/flatten.hpp index 42c83f8f22..f0e319a131 100644 --- a/boost/hana/fwd/flatten.hpp +++ b/boost/hana/fwd/flatten.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::flatten`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/fold.hpp b/boost/hana/fwd/fold.hpp index f34961d507..e060ab1e1e 100644 --- a/boost/hana/fwd/fold.hpp +++ b/boost/hana/fwd/fold.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::fold`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/fold_left.hpp b/boost/hana/fwd/fold_left.hpp index 039cb746d8..22dd22d32f 100644 --- a/boost/hana/fwd/fold_left.hpp +++ b/boost/hana/fwd/fold_left.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::fold_left`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/fold_right.hpp b/boost/hana/fwd/fold_right.hpp index 4b5bf8f1ba..a4305e9c72 100644 --- a/boost/hana/fwd/fold_right.hpp +++ b/boost/hana/fwd/fold_right.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::fold_right`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/for_each.hpp b/boost/hana/fwd/for_each.hpp index 35c0bd45ce..83daf25418 100644 --- a/boost/hana/fwd/for_each.hpp +++ b/boost/hana/fwd/for_each.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::for_each`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/front.hpp b/boost/hana/fwd/front.hpp index 805cbdd15d..3ac1602ea4 100644 --- a/boost/hana/fwd/front.hpp +++ b/boost/hana/fwd/front.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::front`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/fuse.hpp b/boost/hana/fwd/fuse.hpp index 6e38227c61..cecc97c73a 100644 --- a/boost/hana/fwd/fuse.hpp +++ b/boost/hana/fwd/fuse.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::fuse`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/greater.hpp b/boost/hana/fwd/greater.hpp index 091c1d36de..5fcaa4e32d 100644 --- a/boost/hana/fwd/greater.hpp +++ b/boost/hana/fwd/greater.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::greater`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/greater_equal.hpp b/boost/hana/fwd/greater_equal.hpp index d19c6734be..4b29bfcc96 100644 --- a/boost/hana/fwd/greater_equal.hpp +++ b/boost/hana/fwd/greater_equal.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::greater_equal`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/group.hpp b/boost/hana/fwd/group.hpp index 75fb68c832..1be1bee386 100644 --- a/boost/hana/fwd/group.hpp +++ b/boost/hana/fwd/group.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::group`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/if.hpp b/boost/hana/fwd/if.hpp index c221b355cf..59b61975f8 100644 --- a/boost/hana/fwd/if.hpp +++ b/boost/hana/fwd/if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::if_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/insert.hpp b/boost/hana/fwd/insert.hpp index 0ad88849c9..3ca9aa458d 100644 --- a/boost/hana/fwd/insert.hpp +++ b/boost/hana/fwd/insert.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::insert`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/insert_range.hpp b/boost/hana/fwd/insert_range.hpp index e424059c8c..88b6d98acd 100644 --- a/boost/hana/fwd/insert_range.hpp +++ b/boost/hana/fwd/insert_range.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::insert_range`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/integral_constant.hpp b/boost/hana/fwd/integral_constant.hpp index d05d6021f9..6ef1272d80 100644 --- a/boost/hana/fwd/integral_constant.hpp +++ b/boost/hana/fwd/integral_constant.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::integral_constant`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/intersection.hpp b/boost/hana/fwd/intersection.hpp index 787137e208..ec9b1daad2 100644 --- a/boost/hana/fwd/intersection.hpp +++ b/boost/hana/fwd/intersection.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::intersection`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/intersperse.hpp b/boost/hana/fwd/intersperse.hpp index fd29d3a321..35e8a725b5 100644 --- a/boost/hana/fwd/intersperse.hpp +++ b/boost/hana/fwd/intersperse.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::intersperse`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/is_disjoint.hpp b/boost/hana/fwd/is_disjoint.hpp index 97ed7471bb..8a3520b558 100644 --- a/boost/hana/fwd/is_disjoint.hpp +++ b/boost/hana/fwd/is_disjoint.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::is_disjoint`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/is_empty.hpp b/boost/hana/fwd/is_empty.hpp index ddc524672d..a33dc5af8c 100644 --- a/boost/hana/fwd/is_empty.hpp +++ b/boost/hana/fwd/is_empty.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::is_empty`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/is_subset.hpp b/boost/hana/fwd/is_subset.hpp index 158d28b751..aceb85aa86 100644 --- a/boost/hana/fwd/is_subset.hpp +++ b/boost/hana/fwd/is_subset.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::is_subset`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/keys.hpp b/boost/hana/fwd/keys.hpp index 285c34d9a1..24c93b749a 100644 --- a/boost/hana/fwd/keys.hpp +++ b/boost/hana/fwd/keys.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::keys`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/lazy.hpp b/boost/hana/fwd/lazy.hpp index 6ae6a830ef..7568e8e4a6 100644 --- a/boost/hana/fwd/lazy.hpp +++ b/boost/hana/fwd/lazy.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::lazy`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/length.hpp b/boost/hana/fwd/length.hpp index c995a80dd8..331b1d93d2 100644 --- a/boost/hana/fwd/length.hpp +++ b/boost/hana/fwd/length.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::length`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/less.hpp b/boost/hana/fwd/less.hpp index 1dd585db33..f1695b2b74 100644 --- a/boost/hana/fwd/less.hpp +++ b/boost/hana/fwd/less.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::less`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/less_equal.hpp b/boost/hana/fwd/less_equal.hpp index 9de3d6b779..e5c66e4bc3 100644 --- a/boost/hana/fwd/less_equal.hpp +++ b/boost/hana/fwd/less_equal.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::less_equal`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/lexicographical_compare.hpp b/boost/hana/fwd/lexicographical_compare.hpp index 0098b1cb2d..a95aac5212 100644 --- a/boost/hana/fwd/lexicographical_compare.hpp +++ b/boost/hana/fwd/lexicographical_compare.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::lexicographical_compare`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/lift.hpp b/boost/hana/fwd/lift.hpp index 2f30fd68d5..9491dab8a4 100644 --- a/boost/hana/fwd/lift.hpp +++ b/boost/hana/fwd/lift.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::lift`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/map.hpp b/boost/hana/fwd/map.hpp index 25ff7add35..bff0b012f0 100644 --- a/boost/hana/fwd/map.hpp +++ b/boost/hana/fwd/map.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::map`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ @@ -17,14 +17,17 @@ Distributed under the Boost Software License, Version 1.0. #include <boost/hana/fwd/insert.hpp> #include <boost/hana/fwd/keys.hpp> -#include <utility> - BOOST_HANA_NAMESPACE_BEGIN //! Tag representing `hana::map`s. //! @relates hana::map struct map_tag { }; + namespace detail { + template <typename ...Pairs> + struct make_map_type; + } + //! @ingroup group-datatypes //! Basic associative container requiring unique, `Comparable` and //! `Hashable` keys. @@ -42,7 +45,7 @@ BOOST_HANA_NAMESPACE_BEGIN //! - the fact that `hana::map<Pairs...>` is, or is not, a dependent type //! //! In particular, the last point is very important; `hana::map<Pairs...>` - //! is only a shortcut for + //! is basically equivalent to //! @code //! decltype(hana::make_pair(std::declval<Pairs>()...)) //! @endcode @@ -106,6 +109,14 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...P> explicit constexpr map(P&& ...pairs); + //! Assign a map to another map __with the exact same type__. Only + //! exists when all the elements of the map are copy-assignable. + constexpr map& operator=(map const& other); + + //! Move-assign a map to another map __with the exact same type__. + //! Only exists when all the elements of the map are move-assignable. + constexpr map& operator=(map&& other); + //! Equivalent to `hana::equal` template <typename X, typename Y> friend constexpr auto operator==(X&& x, Y&& y); @@ -120,7 +131,7 @@ BOOST_HANA_NAMESPACE_BEGIN }; #else template <typename ...Pairs> - using map = decltype(hana::make<map_tag>(std::declval<Pairs>()...)); + using map = typename detail::make_map_type<Pairs...>::type; #endif //! Function object for creating a `hana::map`. diff --git a/boost/hana/fwd/max.hpp b/boost/hana/fwd/max.hpp index 7a63fbc270..e34d558e25 100644 --- a/boost/hana/fwd/max.hpp +++ b/boost/hana/fwd/max.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::max`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/maximum.hpp b/boost/hana/fwd/maximum.hpp index b725a68fa3..9a49e83d40 100644 --- a/boost/hana/fwd/maximum.hpp +++ b/boost/hana/fwd/maximum.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::maximum`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/members.hpp b/boost/hana/fwd/members.hpp index aaf9472faa..a9f2d82bfb 100644 --- a/boost/hana/fwd/members.hpp +++ b/boost/hana/fwd/members.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::members`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/min.hpp b/boost/hana/fwd/min.hpp index 2aeb7bda22..349787b571 100644 --- a/boost/hana/fwd/min.hpp +++ b/boost/hana/fwd/min.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::min`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/minimum.hpp b/boost/hana/fwd/minimum.hpp index 93926d92a6..df80196bc6 100644 --- a/boost/hana/fwd/minimum.hpp +++ b/boost/hana/fwd/minimum.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::minimum`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/minus.hpp b/boost/hana/fwd/minus.hpp index a113e47dbb..3b3b3ff428 100644 --- a/boost/hana/fwd/minus.hpp +++ b/boost/hana/fwd/minus.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::minus`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/mod.hpp b/boost/hana/fwd/mod.hpp index 1ed87eb5a5..c0872803fc 100644 --- a/boost/hana/fwd/mod.hpp +++ b/boost/hana/fwd/mod.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::mod`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/monadic_compose.hpp b/boost/hana/fwd/monadic_compose.hpp index e5edfcc133..e9adde1bc2 100644 --- a/boost/hana/fwd/monadic_compose.hpp +++ b/boost/hana/fwd/monadic_compose.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::monadic_compose`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/monadic_fold_left.hpp b/boost/hana/fwd/monadic_fold_left.hpp index 786019b0b4..c037989dea 100644 --- a/boost/hana/fwd/monadic_fold_left.hpp +++ b/boost/hana/fwd/monadic_fold_left.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::monadic_fold_left`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/monadic_fold_right.hpp b/boost/hana/fwd/monadic_fold_right.hpp index 692eacbdf4..2028e15369 100644 --- a/boost/hana/fwd/monadic_fold_right.hpp +++ b/boost/hana/fwd/monadic_fold_right.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::monadic_fold_right`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/mult.hpp b/boost/hana/fwd/mult.hpp index cc624e76f2..d322071d9c 100644 --- a/boost/hana/fwd/mult.hpp +++ b/boost/hana/fwd/mult.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::mult`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/negate.hpp b/boost/hana/fwd/negate.hpp index 2be58f2252..6c4f70da8d 100644 --- a/boost/hana/fwd/negate.hpp +++ b/boost/hana/fwd/negate.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::negate`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/none.hpp b/boost/hana/fwd/none.hpp index 158f4c93d7..d0d2da94a9 100644 --- a/boost/hana/fwd/none.hpp +++ b/boost/hana/fwd/none.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::none`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/none_of.hpp b/boost/hana/fwd/none_of.hpp index 2455f1a9da..3e57cf1d65 100644 --- a/boost/hana/fwd/none_of.hpp +++ b/boost/hana/fwd/none_of.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::none_of`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/not.hpp b/boost/hana/fwd/not.hpp index f343a417ab..08d19d2bd5 100644 --- a/boost/hana/fwd/not.hpp +++ b/boost/hana/fwd/not.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::not_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/not_equal.hpp b/boost/hana/fwd/not_equal.hpp index 4c7bdbfbcf..7063a3796c 100644 --- a/boost/hana/fwd/not_equal.hpp +++ b/boost/hana/fwd/not_equal.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::not_equal`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/one.hpp b/boost/hana/fwd/one.hpp index 65df2bf3c4..d2c67b7228 100644 --- a/boost/hana/fwd/one.hpp +++ b/boost/hana/fwd/one.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::one`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/optional.hpp b/boost/hana/fwd/optional.hpp index 934eca809a..28bb68e8af 100644 --- a/boost/hana/fwd/optional.hpp +++ b/boost/hana/fwd/optional.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::optional`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/or.hpp b/boost/hana/fwd/or.hpp index 1d2ad1a348..c14efc8e34 100644 --- a/boost/hana/fwd/or.hpp +++ b/boost/hana/fwd/or.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::or_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/ordering.hpp b/boost/hana/fwd/ordering.hpp index 6e9f25dfa0..78c9e2c3b8 100644 --- a/boost/hana/fwd/ordering.hpp +++ b/boost/hana/fwd/ordering.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::ordering`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/pair.hpp b/boost/hana/fwd/pair.hpp index 0a36da1875..897e87ad12 100644 --- a/boost/hana/fwd/pair.hpp +++ b/boost/hana/fwd/pair.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::pair`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/partition.hpp b/boost/hana/fwd/partition.hpp index 4b8cf00f18..b7a7d3a2ae 100644 --- a/boost/hana/fwd/partition.hpp +++ b/boost/hana/fwd/partition.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::partition`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/permutations.hpp b/boost/hana/fwd/permutations.hpp index af2805d333..7aeb27b2e8 100644 --- a/boost/hana/fwd/permutations.hpp +++ b/boost/hana/fwd/permutations.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::permutations`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/plus.hpp b/boost/hana/fwd/plus.hpp index e1a6e058f2..6d6cac82e2 100644 --- a/boost/hana/fwd/plus.hpp +++ b/boost/hana/fwd/plus.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::plus`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/power.hpp b/boost/hana/fwd/power.hpp index 77ae209a90..c94b841194 100644 --- a/boost/hana/fwd/power.hpp +++ b/boost/hana/fwd/power.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::power`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/prefix.hpp b/boost/hana/fwd/prefix.hpp index 515739f077..78592e11f2 100644 --- a/boost/hana/fwd/prefix.hpp +++ b/boost/hana/fwd/prefix.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::prefix`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/prepend.hpp b/boost/hana/fwd/prepend.hpp index 445dae921d..8bb44ea2db 100644 --- a/boost/hana/fwd/prepend.hpp +++ b/boost/hana/fwd/prepend.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::prepend`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/product.hpp b/boost/hana/fwd/product.hpp index f8a1c67f7d..96bbd77c4e 100644 --- a/boost/hana/fwd/product.hpp +++ b/boost/hana/fwd/product.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::product`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/range.hpp b/boost/hana/fwd/range.hpp index 4ddb5a96b8..82d0f75232 100644 --- a/boost/hana/fwd/range.hpp +++ b/boost/hana/fwd/range.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::range`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/remove.hpp b/boost/hana/fwd/remove.hpp index 7f9191d4ab..88254410a9 100644 --- a/boost/hana/fwd/remove.hpp +++ b/boost/hana/fwd/remove.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::remove`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/remove_at.hpp b/boost/hana/fwd/remove_at.hpp index 6e25e4db45..f997d6e4c5 100644 --- a/boost/hana/fwd/remove_at.hpp +++ b/boost/hana/fwd/remove_at.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::remove_at` and `boost::hana::remove_at_c`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/remove_if.hpp b/boost/hana/fwd/remove_if.hpp index 4d6a9722cc..590a6e195e 100644 --- a/boost/hana/fwd/remove_if.hpp +++ b/boost/hana/fwd/remove_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::remove_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/remove_range.hpp b/boost/hana/fwd/remove_range.hpp index 5274a0e579..1645cce598 100644 --- a/boost/hana/fwd/remove_range.hpp +++ b/boost/hana/fwd/remove_range.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::remove_range` and `boost::hana::remove_range_c`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/repeat.hpp b/boost/hana/fwd/repeat.hpp index dbb39eea0b..0151b5c9e0 100644 --- a/boost/hana/fwd/repeat.hpp +++ b/boost/hana/fwd/repeat.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::repeat`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/replace.hpp b/boost/hana/fwd/replace.hpp index 81eec5b1ae..6edb858a7f 100644 --- a/boost/hana/fwd/replace.hpp +++ b/boost/hana/fwd/replace.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::replace`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/replace_if.hpp b/boost/hana/fwd/replace_if.hpp index 36df3eb40a..e3fe882125 100644 --- a/boost/hana/fwd/replace_if.hpp +++ b/boost/hana/fwd/replace_if.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::replace_if`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/replicate.hpp b/boost/hana/fwd/replicate.hpp index 0580d90601..4861adabae 100644 --- a/boost/hana/fwd/replicate.hpp +++ b/boost/hana/fwd/replicate.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::replicate`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/reverse.hpp b/boost/hana/fwd/reverse.hpp index 0c5bb5c7f9..b47b610bb8 100644 --- a/boost/hana/fwd/reverse.hpp +++ b/boost/hana/fwd/reverse.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::reverse`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/reverse_fold.hpp b/boost/hana/fwd/reverse_fold.hpp index c5a770b576..607dd2dc4d 100644 --- a/boost/hana/fwd/reverse_fold.hpp +++ b/boost/hana/fwd/reverse_fold.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::reverse_fold`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/scan_left.hpp b/boost/hana/fwd/scan_left.hpp index 4ec8987a92..2418196d32 100644 --- a/boost/hana/fwd/scan_left.hpp +++ b/boost/hana/fwd/scan_left.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::scan_left`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/scan_right.hpp b/boost/hana/fwd/scan_right.hpp index f23dfd1104..c99cc911e9 100644 --- a/boost/hana/fwd/scan_right.hpp +++ b/boost/hana/fwd/scan_right.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::scan_right`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/second.hpp b/boost/hana/fwd/second.hpp index edbbaa36fe..6dc4623b79 100644 --- a/boost/hana/fwd/second.hpp +++ b/boost/hana/fwd/second.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::second`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/set.hpp b/boost/hana/fwd/set.hpp index 2b0fdc5284..55bd72d248 100644 --- a/boost/hana/fwd/set.hpp +++ b/boost/hana/fwd/set.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::set`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ @@ -72,6 +72,10 @@ BOOST_HANA_NAMESPACE_BEGIN #ifdef BOOST_HANA_DOXYGEN_INVOKED template <typename implementation_defined> struct set { + //! Default-construct a set. This constructor only exists when all the + //! elements of the set are default-constructible. + constexpr set() = default; + //! Copy-construct a set from another set. This constructor only //! exists when all the elements of the set are copy-constructible. constexpr set(set const& other) = default; diff --git a/boost/hana/fwd/size.hpp b/boost/hana/fwd/size.hpp index b3c4e3ba96..8999b91413 100644 --- a/boost/hana/fwd/size.hpp +++ b/boost/hana/fwd/size.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::size`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/slice.hpp b/boost/hana/fwd/slice.hpp index 82eae5b29a..f8dfafc02d 100644 --- a/boost/hana/fwd/slice.hpp +++ b/boost/hana/fwd/slice.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::slice` and `boost::hana::slice_c`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/sort.hpp b/boost/hana/fwd/sort.hpp index 3cb1fdabc7..c0d45aee23 100644 --- a/boost/hana/fwd/sort.hpp +++ b/boost/hana/fwd/sort.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::sort`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/span.hpp b/boost/hana/fwd/span.hpp index 2a46ebd88a..047b2bc174 100644 --- a/boost/hana/fwd/span.hpp +++ b/boost/hana/fwd/span.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::span`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/string.hpp b/boost/hana/fwd/string.hpp index c3476d7e72..ab23d52aea 100644 --- a/boost/hana/fwd/string.hpp +++ b/boost/hana/fwd/string.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::string`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ @@ -106,6 +106,12 @@ BOOST_HANA_NAMESPACE_BEGIN //! > a bit complicated for the time being. template <typename implementation_defined> struct string { + // Default-construct a `hana::string`; no-op since `hana::string` is stateless. + constexpr string() = default; + + // Copy-construct a `hana::string`; no-op since `hana::string` is stateless. + constexpr string(string const&) = default; + //! Equivalent to `hana::equal` template <typename X, typename Y> friend constexpr auto operator==(X&& x, Y&& y); diff --git a/boost/hana/fwd/suffix.hpp b/boost/hana/fwd/suffix.hpp index ec3002aeef..331854fe5d 100644 --- a/boost/hana/fwd/suffix.hpp +++ b/boost/hana/fwd/suffix.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::suffix`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/sum.hpp b/boost/hana/fwd/sum.hpp index 273f43c77b..c565ecd7f7 100644 --- a/boost/hana/fwd/sum.hpp +++ b/boost/hana/fwd/sum.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::sum`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/symmetric_difference.hpp b/boost/hana/fwd/symmetric_difference.hpp index d23d637c30..2908daaeee 100644 --- a/boost/hana/fwd/symmetric_difference.hpp +++ b/boost/hana/fwd/symmetric_difference.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::symmetric_difference`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/take_back.hpp b/boost/hana/fwd/take_back.hpp index 60560aa3d9..fa4dde5e3c 100644 --- a/boost/hana/fwd/take_back.hpp +++ b/boost/hana/fwd/take_back.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::take_back`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/take_front.hpp b/boost/hana/fwd/take_front.hpp index fe46b35133..9ce3b9c030 100644 --- a/boost/hana/fwd/take_front.hpp +++ b/boost/hana/fwd/take_front.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::take_front` and `boost::hana::take_front_c`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/take_while.hpp b/boost/hana/fwd/take_while.hpp index 7807512cc4..29f1ba24e0 100644 --- a/boost/hana/fwd/take_while.hpp +++ b/boost/hana/fwd/take_while.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::take_while`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/tap.hpp b/boost/hana/fwd/tap.hpp index 0f186c021b..846c1d00e6 100644 --- a/boost/hana/fwd/tap.hpp +++ b/boost/hana/fwd/tap.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::tap`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/then.hpp b/boost/hana/fwd/then.hpp index 83768e6ffb..b4adf3d4fe 100644 --- a/boost/hana/fwd/then.hpp +++ b/boost/hana/fwd/then.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::then`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/transform.hpp b/boost/hana/fwd/transform.hpp index 5f2518db78..af645f3d23 100644 --- a/boost/hana/fwd/transform.hpp +++ b/boost/hana/fwd/transform.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::transform`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/tuple.hpp b/boost/hana/fwd/tuple.hpp index 1624b3d296..f51ab9ac22 100644 --- a/boost/hana/fwd/tuple.hpp +++ b/boost/hana/fwd/tuple.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::tuple`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/type.hpp b/boost/hana/fwd/type.hpp index d3390cf5bd..c3c220db78 100644 --- a/boost/hana/fwd/type.hpp +++ b/boost/hana/fwd/type.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::type` and related utilities. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ @@ -37,18 +37,25 @@ BOOST_HANA_NAMESPACE_BEGIN //! //! //! @note - //! For subtle reasons having to do with ADL, the actual representation of - //! `hana::type` is implementation-defined. In particular, `hana::type` - //! may be a dependent type, so one should not attempt to do pattern - //! matching on it. However, one can assume that `hana::type` _inherits_ - //! from `hana::basic_type`, which can be useful when declaring overloaded - //! functions: + //! For subtle reasons, the actual representation of `hana::type` is + //! implementation-defined. In particular, `hana::type` may be a dependent + //! type, so one should not attempt to do pattern matching on it. However, + //! one can assume that `hana::type` _inherits_ from `hana::basic_type`, + //! which can be useful when declaring overloaded functions: //! @code //! template <typename T> //! void f(hana::basic_type<T>) { //! // do something with T //! } //! @endcode + //! The full story is that [ADL][] causes template arguments to be + //! instantiated. Hence, if `hana::type` were defined naively, expressions + //! like `hana::type<T>{} == hana::type<U>{}` would cause both `T` and `U` + //! to be instantiated. This is usually not a problem, except when `T` or + //! `U` should not be instantiated. To avoid these instantiations, + //! `hana::type` is implemented using some cleverness, and that is + //! why the representation is implementation-defined. When that + //! behavior is not required, `hana::basic_type` can be used instead. //! //! //! @anchor type_lvalues_and_rvalues @@ -86,6 +93,8 @@ BOOST_HANA_NAMESPACE_BEGIN //! The hash of a type is just that type itself. In other words, `hash` //! is the identity function on `hana::type`s. //! @include example/type/hashable.cpp + //! + //! [ADL]: http://en.cppreference.com/w/cpp/language/adl #ifdef BOOST_HANA_DOXYGEN_INVOKED template <typename T> struct type { diff --git a/boost/hana/fwd/unfold_left.hpp b/boost/hana/fwd/unfold_left.hpp index 3e68e549d5..d753222630 100644 --- a/boost/hana/fwd/unfold_left.hpp +++ b/boost/hana/fwd/unfold_left.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::unfold_left`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/unfold_right.hpp b/boost/hana/fwd/unfold_right.hpp index b688d7606f..53ee56fc48 100644 --- a/boost/hana/fwd/unfold_right.hpp +++ b/boost/hana/fwd/unfold_right.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::unfold_right`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/union.hpp b/boost/hana/fwd/union.hpp index 38df48e941..ccf539221f 100644 --- a/boost/hana/fwd/union.hpp +++ b/boost/hana/fwd/union.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::union_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/unique.hpp b/boost/hana/fwd/unique.hpp index 4271f23a9e..5eab73eb3b 100644 --- a/boost/hana/fwd/unique.hpp +++ b/boost/hana/fwd/unique.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::unique`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/unpack.hpp b/boost/hana/fwd/unpack.hpp index 457cacea97..f66c29ae8b 100644 --- a/boost/hana/fwd/unpack.hpp +++ b/boost/hana/fwd/unpack.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::unpack`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/value.hpp b/boost/hana/fwd/value.hpp index 4a64507c7b..7db9384f77 100644 --- a/boost/hana/fwd/value.hpp +++ b/boost/hana/fwd/value.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::value`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/while.hpp b/boost/hana/fwd/while.hpp index e9efc4464d..14923797b5 100644 --- a/boost/hana/fwd/while.hpp +++ b/boost/hana/fwd/while.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::while_`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/zero.hpp b/boost/hana/fwd/zero.hpp index dc35dd4d6d..412614786d 100644 --- a/boost/hana/fwd/zero.hpp +++ b/boost/hana/fwd/zero.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::zero`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/zip.hpp b/boost/hana/fwd/zip.hpp index e5d1c8d178..505decfcf0 100644 --- a/boost/hana/fwd/zip.hpp +++ b/boost/hana/fwd/zip.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::zip`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/zip_shortest.hpp b/boost/hana/fwd/zip_shortest.hpp index 33dbd6220b..5f0622789d 100644 --- a/boost/hana/fwd/zip_shortest.hpp +++ b/boost/hana/fwd/zip_shortest.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::zip_shortest`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/zip_shortest_with.hpp b/boost/hana/fwd/zip_shortest_with.hpp index 65c2e2acda..47d5a43b61 100644 --- a/boost/hana/fwd/zip_shortest_with.hpp +++ b/boost/hana/fwd/zip_shortest_with.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::zip_shortest_with`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ diff --git a/boost/hana/fwd/zip_with.hpp b/boost/hana/fwd/zip_with.hpp index 19dd314aa6..3e153a3e6a 100644 --- a/boost/hana/fwd/zip_with.hpp +++ b/boost/hana/fwd/zip_with.hpp @@ -2,7 +2,7 @@ @file Forward declares `boost::hana::zip_with`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ |