Uploaded image for project: 'ICU'
  1. ICU-20337

Add value getters to icu::MeasureUnit (C++ only)

    Details

    • Type: New Feature/API (Proposal Required)
    • Status: Done (View workflow)
    • Priority: assess
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 64.1
    • Component/s: format_number
    • Labels:
      None
    • Time Needed:
      Hours

      Description

      icu::MeasureUnit has getters for the units that return by pointer, and the pointer requires ownership. However, icu::MeasureUnit is a very cheap value object that retains no memory. It would therefore make sense to give the ability to get objects by value rather than by pointer.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                shane Shane Carr
                Reporter:
                shane Shane Carr
                Reviewer:
                Peter Edberg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: