Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Small fix for Find in Algo.h
Small fix for Find in Algo.h [message #20327] Wed, 11 March 2009 18:38 Go to previous message
gridem is currently offline  gridem
Messages: 45
Registered: August 2008
Member
I think that this patch solves the problem for Find function (it should compare the values):
 template <class T, class V>
 T Find(T ptr, T end, const V& value)
 {
-	return Find(ptr, end, value, StdEqual<T>());
+	return Find(ptr, end, value, StdEqual<V>());
 }
 
Read Message
Read Message
Read Message icon13.gif
Read Message
Read Message
Read Message
Previous Topic: A probably simple question about pick semantics
Next Topic: Preferred way to access VectorMap
Goto Forum:
  


Current Time: Sun Apr 28 20:48:17 CEST 2024

Total time taken to generate the page: 0.04435 seconds