/*============================================================================= Copyright (c) 2011-2015 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_CONTAINER_RANGE_FUNCTIONS_FWD_HPP #define SPROUT_CONTAINER_RANGE_FUNCTIONS_FWD_HPP #include #include namespace sprout { // // begin // template SPROUT_CONSTEXPR typename sprout::container_traits::iterator begin(Container& cont); template SPROUT_CONSTEXPR typename sprout::container_traits::iterator begin(Container const& cont); // // end // template SPROUT_CONSTEXPR typename sprout::container_traits::iterator end(Container& cont); template SPROUT_CONSTEXPR typename sprout::container_traits::iterator end(Container const& cont); // // size // template SPROUT_CONSTEXPR typename sprout::container_traits::size_type size(Container const& cont); // // empty // template SPROUT_CONSTEXPR bool empty(Container const& cont); // // front // template SPROUT_CONSTEXPR typename sprout::container_traits::reference front(Container& cont); template SPROUT_CONSTEXPR typename sprout::container_traits::reference front(Container const& cont); // // back // template SPROUT_CONSTEXPR typename sprout::container_traits::reference back(Container& cont); template SPROUT_CONSTEXPR typename sprout::container_traits::reference back(Container const& cont); // // at // template SPROUT_CONSTEXPR typename sprout::container_traits::reference at(Container& cont, typename sprout::container_traits::size_type i); template SPROUT_CONSTEXPR typename sprout::container_traits::reference at(Container const& cont, typename sprout::container_traits::size_type i); // // data // template SPROUT_CONSTEXPR typename sprout::container_traits::pointer data(Container& cont); template SPROUT_CONSTEXPR typename sprout::container_traits::pointer data(Container const& cont); } // namespace sprout #include #include #endif // #ifndef SPROUT_CONTAINER_RANGE_FUNCTIONS_FWD_HPP