mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
fix coding-style
This commit is contained in:
parent
df3023db30
commit
5ce2cb023c
196 changed files with 1180 additions and 1787 deletions
|
@ -14,26 +14,13 @@ namespace sprout {
|
|||
// transform
|
||||
//
|
||||
template<typename Input, typename Result, typename UnaryOperation>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type transform(
|
||||
Input const& input,
|
||||
Result const& result,
|
||||
UnaryOperation op
|
||||
)
|
||||
{
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
transform(Input const& input, Result const& result, UnaryOperation op) {
|
||||
return sprout::fixed::transform(sprout::begin(input), sprout::end(input), result, op);
|
||||
}
|
||||
|
||||
//
|
||||
// transform
|
||||
//
|
||||
template<typename Input1, typename Input2, typename Result, typename BinaryOperation>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type transform(
|
||||
Input1 const& input1,
|
||||
Input2 const& input2,
|
||||
Result const& result,
|
||||
BinaryOperation op
|
||||
)
|
||||
{
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::algorithm<Result>::type
|
||||
transform(Input1 const& input1, Input2 const& input2, Result const& result, BinaryOperation op) {
|
||||
return sprout::fixed::transform(sprout::begin(input1), sprout::end(input1), sprout::begin(input2), result, op);
|
||||
}
|
||||
} // namespace fixed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue