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/19 16:13:20 UTC
[jira] [Assigned] (MESOS-6159) Remove stout's Set type
[ https://issues.apache.org/jira/browse/MESOS-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bannier reassigned MESOS-6159:
---------------------------------------
Assignee: Benjamin Bannier
> 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
> Assignee: Benjamin Bannier
> Priority: Minor
> Labels: tech-debt
>
> 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)