1/*!
2@file
3Forward declares `boost::hana::size`.
4
5Copyright Louis Dionne 2013-2022
6Distributed 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
17namespace boost { namespace hana {
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 BOOST_HANA_INLINE_VARIABLE constexpr auto size = hana::length;
31}} // end namespace boost::hana
32
33#endif // !BOOST_HANA_FWD_SIZE_HPP
34

source code of boost/libs/hana/include/boost/hana/fwd/size.hpp