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

QDebug: support for std::error_code

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Core: I/O
    • None

    Description

      QDebug does not well integrate with std::error_code and friends.

      ideally i'd like to be able to:
      ```
      int result = read();
      if (result < 0)
      qDebug() << std::make_error_code(std::errc(-result));
      ```

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes