Re: [Vala] Strings and template comparison



On 07/05/2015 14:41, Craig wrote:
Hello,

Why are strings not compared by value when they're passed into template
functions? Consider this gist:
https://gist.github.com/weberc2/4131654ff068d27f9cde

Is there anything I can do to get value comparison back in templates?
Because generics don't enclose an equality function. Check whether the
type is a string, then cast to string.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]