On Fri, 2011-10-07 at 09:29 +0200, Markus Elfring wrote: > By which (member) function can such a variable be marked to contain an > unknown > value? > (Do I overlook a programming interface once more?) > http://developer.gnome.org/glibmm/2.30/classGlib_1_1VariantBase.html
It looks like we don't have any API yet to create a "maybe" Glib::Variant. The C API is g_variant_new_maybe() but we don't seem to use that yet. I don't know how we would support this in a template specialization. Note that GVariant generally doesn't have set functions. It's meant to be an invariant type. That probably makes it unsuitable for general use anyway. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
