mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix coding-style
This commit is contained in:
parent
df3023db30
commit
5ce2cb023c
196 changed files with 1180 additions and 1787 deletions
|
@ -24,13 +24,14 @@ namespace sprout {
|
|||
// pop_back_n
|
||||
//
|
||||
template<std::size_t N, typename Container>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::pop_back_n<N, Container>::type pop_back_n(
|
||||
Container const& cont
|
||||
)
|
||||
{
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::pop_back_n<N, Container>::type
|
||||
pop_back_n(Container const& cont) {
|
||||
return sprout::fixed::detail::erase_n_impl<N, typename sprout::fixed::result_of::pop_back_n<N, Container>::type>(
|
||||
cont,
|
||||
sprout::index_range<0, sprout::container_traits<typename sprout::fixed::result_of::pop_back_n<N, Container>::type>::static_size>::make(),
|
||||
sprout::index_range<
|
||||
0,
|
||||
sprout::container_traits<typename sprout::fixed::result_of::pop_back_n<N, Container>::type>::static_size
|
||||
>::make(),
|
||||
sprout::internal_end_offset(cont) - N
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue