What is the difference between casting of 
Glib::Variant< Glib::ustring >.get_type( ).get_string( ) = "s"
and 
Glib::Variant< Glib::ustring >.get_type( ).get_string( ) = "o"
In my mind both are strings.

When type is "s" Gtk::VariantBase::cast_dynamic does without error,
when type is "o" throws std::bad_cast.
-- 
"No Civilization = Freedom"
------------------------------------------------------------------------
Yes, I am a criminal. My crime is that of curiosity.

My crime is that of judging people by what they say and think, not what
they look like.

 

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to