mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
commit
21f5d5191a
6 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
#ifndef SPROUT_ALGORITHM_FIXED_POP_HEAP_HPP
|
#ifndef SPROUT_ALGORITHM_FIXED_MAKE_HEAP_HPP
|
||||||
#define SPROUT_ALGORITHM_FIXED_POP_HEAP_HPP
|
#define SPROUT_ALGORITHM_FIXED_MAKE_HEAP_HPP
|
||||||
|
|
||||||
#include <sprout/config.hpp>
|
#include <sprout/config.hpp>
|
||||||
#include <sprout/fixed_container/traits.hpp>
|
#include <sprout/fixed_container/traits.hpp>
|
||||||
|
@ -119,4 +119,4 @@ namespace sprout {
|
||||||
} // namespace fixed
|
} // namespace fixed
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
||||||
#endif // #ifndef SPROUT_ALGORITHM_FIXED_POP_HEAP_HPP
|
#endif // #ifndef SPROUT_ALGORITHM_FIXED_MAKE_HEAP_HPP
|
||||||
|
|
|
@ -52,7 +52,7 @@ namespace sprout {
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return sprout::fixed::detail::make_partial_heap_impl_1(
|
return sprout::fixed::detail::make_partial_heap_impl_1(
|
||||||
sprout::fixed::detail::make_heap_impl(cont, comp, offset, middle_size),
|
::sprout::fixed::detail::make_heap_impl(cont, comp, offset, middle_size),
|
||||||
comp,
|
comp,
|
||||||
offset,
|
offset,
|
||||||
size,
|
size,
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace sprout {
|
||||||
template<typename Container>
|
template<typename Container>
|
||||||
struct fixed_size {
|
struct fixed_size {
|
||||||
public:
|
public:
|
||||||
typedef typename sprout::fixed_container_traits<Container>::size_type value
|
static SPROUT_CONSTEXPR typename sprout::fixed_container_traits<Container>::size_type value
|
||||||
= sprout::fixed_container_traits<Container>::fixed_size
|
= sprout::fixed_container_traits<Container>::fixed_size
|
||||||
;
|
;
|
||||||
typedef std::integral_constant<typename sprout::fixed_container_traits<Container>::size_type, value> type;
|
typedef std::integral_constant<typename sprout::fixed_container_traits<Container>::size_type, value> type;
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace sprout {
|
||||||
UnaryOperation op
|
UnaryOperation op
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return sprout::fixed::transform(sprout::begin(input), sprout::end(input), result, op));
|
return sprout::fixed::transform(sprout::begin(input), sprout::end(input), result, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace sprout {
|
||||||
UnaryOperation op
|
UnaryOperation op
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return sprout::infit::transform(sprout::begin(input), sprout::end(input), result, op));
|
return sprout::infit::transform(sprout::begin(input), sprout::end(input), result, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace sprout {
|
||||||
UnaryOperation op
|
UnaryOperation op
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return sprout::outfit::transform(sprout::begin(input), sprout::end(input), result, op));
|
return sprout::outfit::transform(sprout::begin(input), sprout::end(input), result, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue