Skip to content

Commit 996ea45

Browse files
committed
New issue from Jakub Jelinek: meta::has_identifier is not specified for annotations
1 parent 8490673 commit 996ea45

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

xml/issue4478.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2+
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+
<issue num="4478" status="New">
5+
<title>`meta::has_identifier` is not specified for annotations</title>
6+
<section><sref ref="[meta.reflection.names]"/></section>
7+
<submitter>Jakub Jelinek</submitter>
8+
<date>18 Nov 2025</date>
9+
<priority>99</priority>
10+
11+
<discussion>
12+
<p>
13+
The `std::meta::has_identifier` metafunction doesn't say what it returns
14+
for an annotation. An annotation is not an entity, so it's not an unnamed
15+
entity, and it's also not a type, type alias, function, or any of the other
16+
things in the list.
17+
</p>
18+
<p>
19+
We should add an item to the list for annotations,
20+
or just add a catch-all "Otherwise false" to the end of the list.
21+
</p>
22+
</discussion>
23+
24+
<resolution>
25+
</resolution>
26+
27+
</issue>

0 commit comments

Comments
 (0)