---
title: "Discussion on \"std::find_if 完全指南\" | Hashnode"
description: "Discussion on \"std::find_if 完全指南\". std::find_if 完全指南\n1. 基本概念\n定义\nstd::find_if 是 C++ 标准库中的算法，用于在范围内查找第一个满足特定条件的元素。\n函数签名\ntemplate< class InputIt, class UnaryPredicate >\nInputIt find_if( InputIt first, InputIt last, UnaryPredicate p );\n\n2."
url: "https://hashnode.com/posts/cpp-std-find-if/6a3166bdcedba1eeb163fd92"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [std::find\_if 完全指南](https://tianchuangya.cc/cpp-std-find-if?utm_source=hashnode&utm_medium=feed)

std::find\_if 完全指南 1. 基本概念 定义 std::find\_if 是 C++ 标准库中的算法，用于在范围内查找第一个满足特定条件的元素。 函数签名 template< class InputIt, class UnaryPredicate > InputIt find\_if( InputIt first, InputIt last, UnaryPredicate p ); 2.

Jun 16 · 4 min read · tianchuangya.cc  
Read the article

## Written by

[tianchuangya](https://hashnode.com/@shitianchuangya)

@shitianchuangya · China

  
[View profile](https://hashnode.com/@shitianchuangya)

确定性是机器的底层逻辑，而你是我在这个绝对理性世界里，唯一的那个浪漫bug

确定性世界里，一个被允许的异常

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
