[#absl-c_adjacent_difference-03] = xref:absl.adoc[absl]::c_adjacent_difference :relfileprefix: ../ :mrdocs: Overload of `c_adjacent_difference()` for using a binary operation other than subtraction to compute the adjacent difference. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename InputSequence, typename OutputIt, typename BinaryOp> constexpr OutputIt c_adjacent_difference( InputSequence const& input, OutputIt output_first, BinaryOp&& op); ---- == Return Value An iterator to the end of the written range in the output. == Parameters [cols="1,4"] |=== | Name| Description | *input* | The container whose elements to process. | *output_first* | The output iterator receiving the differences. | *op* | The binary operation used to compute each difference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#