Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6159

Remove stout's Set type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • stout

    Description

      stout provides a Set type which wraps a std::set. As only addition it provides new constructors,

      Set(const T& t1);
      Set(const T& t1, const T& t2);
      Set(const T& t1, const T& t2, const T& t3);
      Set(const T& t1, const T& t2, const T& t3, const T& t4);
      

      which simplified creation of a Set from (up to four) known elements.

      C++11 brought std::initializer_list which can be used to create a std::set from an arbitrary number of elements, so it appears that it should be possible to retire Set.

      Attachments

        Activity

          People

            bbannier Benjamin Bannier
            bbannier Benjamin Bannier
            Michael Park Michael Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: