#ifndef SPROUT_COMPOST_EFFECTS_VOCAL_CANCELLED_HPP #define SPROUT_COMPOST_EFFECTS_VOCAL_CANCELLED_HPP #include #include #include #include #include #include namespace sprout { namespace compost { namespace effects { // // vocal_cancelled_forwarder // class vocal_cancelled_forwarder {}; // // vocal_cancelled // namespace { SPROUT_STATIC_CONSTEXPR sprout::compost::effects::vocal_cancelled_forwarder vocal_cancelled = {}; } // anonymous-namespace // // operator| // // ??? #if !defined(__clang__) template inline SPROUT_CONSTEXPR auto operator|(Range&& lhs, sprout::compost::effects::vocal_cancelled_forwarder const& rhs) -> decltype( sprout::lvalue_forward(lhs) | sprout::compost::formats::left_channel | sprout::adaptors::transformed( sprout::lvalue_forward(lhs) | sprout::compost::formats::right_channel, sprout::minus<>() ) ) { return sprout::lvalue_forward(lhs) | sprout::compost::formats::left_channel | sprout::adaptors::transformed( sprout::lvalue_forward(lhs) | sprout::compost::formats::right_channel, sprout::minus<>() ) ; } #endif } // namespace effects using sprout::compost::effects::vocal_cancelled; } // namespace compost } // namespace sprout #endif // #ifndef SPROUT_COMPOST_EFFECTS_VOCAL_CANCELLED_HPP