Make timestamp constructors constexpr

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Most of the Timestamp constructors and some of the static methods (e.g. min() and max()) can be made 'constexpr', which would allow things like

      class WhateverTest {
         ...
         static constexpr Timestamp testTimestamp = Timestamp(10,1);
      }
      

      Mostly useful in tests.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: