Improve the documentation of the ReferenceCounted interface

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.0
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • Fully Compatible
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the documentation of the ReferenceCounted.getCount method is not very clear, especially in stating that reference count starts at 0. We need to explain that the count values ∈ [0, +∞), but a new ReferenceCounted object must always be created as retained, i.e., with the count equal to 1.

              Assignee:
              Valentin Kavalenka
              Reporter:
              Valentin Kavalenka
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: