You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2016/09/14 23:07:20 UTC
[jira] [Created] (MESOS-6159) Remove stout's Set type
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)