Remove user-defined constructor from ThreadPool::Options

XMLWordPrintableJSON

    • Server Programmability
    • Fully Compatible
    • Programmability 2026-05-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The existence of `explicit Options(const Limits& limits);` prevents designated initializers on the class. 

      It's a PoD struct and this prevents making it const at construction if other elements besides `limits` need to be changed without wrapping it in IILE. 

      The function can trivially be changed to a factory `Options create(const Limits& limits);` if keeping it around is necessary. 

            Assignee:
            Billy Donahue
            Reporter:
            Benjamin Pearce
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: