]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/include/boost/hana/fwd/size.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / hana / include / boost / hana / fwd / size.hpp
1 /*!
2 @file
3 Forward declares `boost::hana::size`.
4
5 @copyright Louis Dionne 2013-2016
6 Distributed under the Boost Software License, Version 1.0.
7 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
8 */
9
10 #ifndef BOOST_HANA_FWD_SIZE_HPP
11 #define BOOST_HANA_FWD_SIZE_HPP
12
13 #include <boost/hana/config.hpp>
14 #include <boost/hana/fwd/length.hpp>
15
16
17 BOOST_HANA_NAMESPACE_BEGIN
18 //! Equivalent to `length`; provided for consistency with the
19 //! standard library.
20 //! @ingroup group-Foldable
21 //!
22 //! This method is an alias to `length` provided for convenience and
23 //! consistency with the standard library. As an alias, `size` is not
24 //! tag-dispatched on its own and `length` should be customized instead.
25 //!
26 //!
27 //! Example
28 //! -------
29 //! @include example/size.cpp
30 constexpr auto size = hana::length;
31 BOOST_HANA_NAMESPACE_END
32
33 #endif // !BOOST_HANA_FWD_SIZE_HPP