Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37848844
en ru br
ALT Linux repositórios
S:2.5-alt0.4
5.0: 1.96-alt6
4.1: 1.96-alt5.M41.1
4.0: 1.96-alt2.6
3.0:
+backports:1.96-alt0.M30.1

Outros repositórios
Upstream:1.96-beta

Group :: Som
RPM: festival

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: templatefixes.diff
Download


This patch adds the not-equal operator for EST_TList.
This patch is not intended to alter the code in a substantive way.
No copyright subsists in this patch as it is too trivial.
Author: Peter Drysdale <drysdalepete@gmail.com>
--- a/include/EST_TList.h
+++ b/include/EST_TList.h
@@ -268,6 +268,12 @@
 }
 
 template<class T> 
+bool operator!=(const EST_TList<T> &a, const EST_TList<T> &b)
+{ 
+    return !(a==b); 
+}
+
+template<class T> 
 int index(EST_TList<T> &l, T& val, bool (*eq)(const EST_UItem *, const EST_UItem *) = NULL)
 { 
   EST_TItem<T> item(val);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009