mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-28 23:23:56 +00:00
fc90c5f8f0
Internally, Genode::Session_label has a typedef from String<capacity()> to String. To have this typedef public is especially useful when reading a label from an XML node. This can then be written as ! Session_label label = node.attribute_value("label", Session_label::String()); instead of ! Session_label label = node.attribute_value("label", String<160>()); which would be less generic (Session_label cannot be used directly as there is no appropriate ascii_to implementation). Issue #2840