Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.1 KB

File metadata and controls

38 lines (32 loc) · 1.1 KB
title remove_if (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::remove_if
dev_langs
C++
helpviewer_keywords
remove_if function [STL/CLR]
ms.assetid de501d3f-965b-4a99-b833-f6fa303fbcdc
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen

remove_if (STL/CLR)

Eliminates elements that satisfy a predicate from a given range without disturbing the order of the remaining elements and returning the end of a new range free of the specified value.

Syntax

template<class _FwdIt, class _Pr> inline  
    _FwdIt remove_if(_FwdIt _First, _FwdIt _Last, _Pr _Pred);  

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)