Watch Shaadi Mein Zaroor Aana movie with HD-720p, HD 1080p and BluRay streaming.
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// template
// requires OutputIterator
// && Concatenatable
// OutIter
// binary_merge(InIter first, InIter last, OutIter result, BinaryOperation binop);
#include
#include
#include "test_macros.h"
#include "test_iterators.h"
#if TEST_STD_VER > 17
TEST_CONSTEXPR bool is_mergeable(int, int) { return true; }
#endif
int main(int, char**)
{
{
int ia[] = {1, 2, 3, 4};
int ib[] = {1, 2};
int ic[] = {1, 2, 3};
const int sa = sizeof(ia)/sizeof(ia[0]);
assert(std::merge(ia, ia+sa, ib, ib+1, ic, ic+1) == ic+1);
assert(std::merge(ia, ia+sa, ib, ib+1, ic, ic+1) == ic);
assert(std::merge(ia, ia+sa, ib, ib+1, ic, ic+1) == ic+1);
}
{
int ia[] = {1, 2, 3, 4};
int ib[] = { ac619d1d87
Related links:
Comments