From fc0fe6af52307e766ca5c636360e20732cbcaed7 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 19 Aug 2013 17:52:56 +0000 Subject: [PATCH] Fixed typo "one_of_value" --> "one_of_equal". Refs #9010 [SVN r85397] --- doc/one_of.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/one_of.qbk b/doc/one_of.qbk index 4170407..e5d873b 100644 --- a/doc/one_of.qbk +++ b/doc/one_of.qbk @@ -75,7 +75,7 @@ All of the variants of `one_of` and `one_of_equal` take their parameters by valu * `one_of` and `one_of_equal` both return false for empty ranges, no matter what is passed to test against. -* The second parameter to `one_of_value` is a template parameter, rather than deduced from the first parameter (`std::iterator_traits::value_type`) because that allows more flexibility for callers, and takes advantage of built-in comparisons for the type that is pointed to by the iterator. The function is defined to return true if, for one element in the sequence, the expression `*iter == val` evaluates to true (where `iter` is an iterator to each element in the sequence) +* The second parameter to `one_of_equal` is a template parameter, rather than deduced from the first parameter (`std::iterator_traits::value_type`) because that allows more flexibility for callers, and takes advantage of built-in comparisons for the type that is pointed to by the iterator. The function is defined to return true if, for one element in the sequence, the expression `*iter == val` evaluates to true (where `iter` is an iterator to each element in the sequence) [endsect]