On Mon, 29 Aug 2011 21:33:13 +0200, Mariusz Gliwiński wrote:
Hello,
this will be easy question. I defined attributes, that are taking my
custom structures as attributes. Then, I'd like to add implicit
conversion to this structures from primitive types, such as: code
some.attribute = [1, 2,
Ali Çehreli wrote:
To solve it for this specific case, you can overload attribute() to take
int[]:
I know, but i don't really want to. Too many overrides or templates, but
i'll consider it if wont find any better solution.
Thanks,
Mariusz Gliwiński