<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Non-reserved names in pstl/execution_impl.h"
href="https://bugs.llvm.org/show_bug.cgi?id=47601">47601</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Non-reserved names in pstl/execution_impl.h
</td>
</tr>
<tr>
<th>Product</th>
<td>parallel STL
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>New
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ldionne@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zilla@kayari.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The members of __internal::__policy_traits aren't using reserved names:
template <>
struct __policy_traits<sequenced_policy>
{
typedef std::false_type allow_parallel;
typedef std::false_type allow_unsequenced;
typedef std::false_type allow_vector;
};
This means the alias templates following it are broken:
template <typename _ExecutionPolicy>
using __collector_t =
typename __internal::__policy_traits<typename
std::decay<_ExecutionPolicy>::type>::__collector_type;
This is invalid, because __collector_type doesn't exist, the member is really
called collector_type (although it shouldn't be).
And later in that file:
template <typename policy, typename... _IteratorTypes>
struct __prefer_unsequenced_tag
and
template <typename policy, typename... _IteratorTypes>
struct __prefer_parallel_tag
These use "policy" which is not a reserved name either.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>