Benjamin Bannier created MESOS-6159:
---------------------------------------

             Summary: Remove stout's Set type
                 Key: MESOS-6159
                 URL: https://issues.apache.org/jira/browse/MESOS-6159
             Project: Mesos
          Issue Type: Bug
          Components: stout
            Reporter: Benjamin Bannier
            Priority: Minor


stout provides a {{Set}} type which wraps a {{std::set}}. As only addition it 
provides new constructors,
{code}
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);
{code}
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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to