Re: Function completion for GVariant maybe types?

// Now I want to set v to 'Nothing'
v = Glib::Variant<int>();

I imagine an alternative interface so that I do need to know a concrete data
type for this template class. I would prefer an approach which will generally
solve this issue once for all classes.
How do you think about a generic function call like "v.reset_to_nothing();"?


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