#ifndef SPROUT_OPERATION_FIXED_POP_FRONT_HPP #define SPROUT_OPERATION_FIXED_POP_FRONT_HPP #include #include #include #include #include #include namespace sprout { namespace fixed { namespace result_of { // // pop_front // template struct pop_front : public sprout::fixed::result_of::erase {}; } // namespace result_of // // pop_front // template SPROUT_CONSTEXPR inline typename sprout::fixed::result_of::pop_front::type pop_front( Container const& cont ) { return sprout::fixed::detail::erase_impl::type>( cont, typename sprout::index_range<0, sprout::fixed_container_traits::type>::fixed_size>::type(), sprout::fixed_begin_offset(cont) ); } } // namespace fixed namespace result_of { using sprout::fixed::result_of::pop_front; } // namespace result_of using sprout::fixed::pop_front; } // namespace sprout #endif // #ifndef SPROUT_OPERATION_FIXED_POP_FRONT_HPP