Skip to content

Latest commit

 

History

History
57 lines (51 loc) · 1.33 KB

replace-copy-stl-clr.md

File metadata and controls

57 lines (51 loc) · 1.33 KB
title replace_copy (STL/CLR) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
cliext::replace_copy
dev_langs
C++
helpviewer_keywords
replace_copy function [STL/CLR]
ms.assetid b531b49b-b16d-4b04-8f80-74f43dd496a4
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

replace_copy (STL/CLR)

Examines each element in a source range and replaces it if it matches a specified value while copying the result into a new destination range.

Syntax

template<class _InIt, class _OutIt, class _Ty> inline  
    _OutIt replace_copy(_InIt _First, _InIt _Last, _OutIt _Dest,  
        const _Ty% _Oldval, const _Ty% _Newval);  

Remarks

This function behaves the same as the C++ Standard Library function replace_copy. For more information, see replace_copy.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)