/*============================================================================= Copyright (c) 2011-2013 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_INTERNAL_BEGIN_HPP #define SPROUT_CONTAINER_INTERNAL_BEGIN_HPP #include #include #include #include #include #include #include namespace sprout { // // internal_begin // template typename sprout::container_traits< typename std::remove_reference< typename sprout::containers::deep_internal::type >::type >::iterator internal_begin(Container& cont) { return sprout::begin(sprout::get_deep_internal(cont)); } template inline SPROUT_CONSTEXPR typename sprout::container_traits< typename std::remove_reference< typename sprout::containers::deep_internal::type >::type >::const_iterator internal_begin(Container const& cont) { return sprout::begin(sprout::get_deep_internal(cont)); } // // internal_cbegin // template inline SPROUT_CONSTEXPR typename sprout::container_traits< typename std::remove_reference< typename sprout::containers::deep_internal::type >::type >::const_iterator internal_cbegin(Container const& cont) { return sprout::begin(sprout::get_deep_internal(cont)); } } // namespace sprout #endif // #ifndef SPROUT_CONTAINER_INTERNAL_BEGIN_HPP