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
|
@ -14,23 +14,13 @@ namespace sprout {
|
|||
// adjacent_difference
|
||||
//
|
||||
template<typename Input, typename Result>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Result>::type adjacent_difference(
|
||||
Input const& input,
|
||||
Result const& result
|
||||
)
|
||||
{
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Result>::type
|
||||
adjacent_difference(Input const& input, Result const& result) {
|
||||
return sprout::fit::adjacent_difference(sprout::begin(input), sprout::end(input), result);
|
||||
}
|
||||
//
|
||||
// adjacent_difference
|
||||
//
|
||||
template<typename Input, typename Result, typename BinaryOperation>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Result>::type adjacent_difference(
|
||||
Input const& input,
|
||||
Result const& result,
|
||||
BinaryOperation binary_op
|
||||
)
|
||||
{
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::algorithm<Result>::type
|
||||
adjacent_difference(Input const& input, Result const& result, BinaryOperation binary_op) {
|
||||
return sprout::fit::adjacent_difference(sprout::begin(input), sprout::end(input), result, binary_op);
|
||||
}
|
||||
} // namespace fit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue