Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105297

Use std::variant instead of the union in qobject_p.h

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Core: Object Model
    • None

      Unions are error-prone and require a lot of boilerplate already written in std::variant. Consider changing the union in QObjectPrivate to an std::variant.

      (Is it used due to ABI restrictions?)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            mikolaj.boc MikoĊ‚aj Boc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes