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

Allow classes to document std::format support

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.0 FF
    • Build tools: qdoc

      To document std::format support for various Qt types, it might make sense to provide a qdoc macro that would expand into something like "This class supports formatting with std::format".
      Update: it would be nice if the generated text could link to some "std::format support in Qt overview", once it's provided (see QTBUG-128837).

      Ideally, the macro should also allow to add custom text, i.e. the actual format string specifications.

      Maybe we could have something like compareswith/endcompareswith pair?

      I'd suggest:

      \stdformattable
      Arbitrary text can be added here
      \endstdformattable
      

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

            docinfrastructure Documentation Infrastructure Team
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes