[Y-devel] Slider widget done

Alexandre Sauvé mr.lex at free.fr
Wed Mar 10 17:42:51 GMT 2004


On Wed, Mar 10, 2004 at 06:19:23PM +0100, Jerome Laheurte wrote:
> 
> Well, I first tried with templates, but I let it go because I'm not
> aware of a way to specify a "transformation function" in a template
> (for instance, atol(3) in the case of integer properties).

Isn't this related to constructors in the destination class?

when you say 
A.item_classX = B.item_classY

if classX provides a constructor which has only one argument of classY, the
cast is IMPLICIT.


my 2cents :)

-- 
Alexandre Sauvé



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved