3 Forward declares `boost::hana::size`.
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)
10 #ifndef BOOST_HANA_FWD_SIZE_HPP
11 #define BOOST_HANA_FWD_SIZE_HPP
13 #include <boost/hana/config.hpp>
14 #include <boost/hana/fwd/length.hpp>
17 BOOST_HANA_NAMESPACE_BEGIN
18 //! Equivalent to `length`; provided for consistency with the
20 //! @ingroup group-Foldable
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.
29 //! @include example/size.cpp
30 constexpr auto size = hana::length;
31 BOOST_HANA_NAMESPACE_END
33 #endif // !BOOST_HANA_FWD_SIZE_HPP