#Modifying of comptime value
1 messages · Page 1 of 1 (latest)
Oh, it's helped, thanks. Is there any way to create not comptime type type? For example i want to fill my list with runtime values
type is comptime only - types do not exist at runtime.
But filling the list with runtime values shouldn't need that.
Just make it var list =.
I've just tried to use push_back with var value on my list, after changing @This() to *T@his() and it's work...
I think if use struct pointer you can use runtime values
Thank you a lot!