File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4422" status =" New" >
5+ <title >`meta::access_context` should be a consteval-only type</title >
6+ <section ><sref ref =" [meta.reflection.access.context]" /></section >
7+ <submitter >Jakub Jelinek</submitter >
8+ <date >20 Oct 2025</date >
9+ <priority >99</priority >
10+
11+ <discussion >
12+ <p >
13+ The `meta::access_context` type is expected to contain some `meta::info`
14+ objects, which would make it a consteval-only type. But we don't actually
15+ specify any members, so nothing in the current specification says you can't
16+ persist one until runtime.
17+ </p >
18+ </discussion >
19+
20+ <resolution >
21+ <p >
22+ This wording is relative to <paper num =" N5014" />.
23+ </p >
24+
25+ <ol >
26+
27+ <li ><p >Modify <sref ref =" [meta.reflection.access.context]" /> as indicated:</p >
28+
29+ <blockquote >
30+ <p >-1-
31+ The access_context class is a non-aggregate<ins >, consteval-only</ins > type
32+ that represents a namespace, class, or function from which queries pertaining
33+ to access rules may be performed, as well as the designating class
34+ (<sref ref =" [class.access.base]" />), if any.
35+ </p >
36+ </blockquote >
37+ </li >
38+ </ol >
39+ </resolution >
40+
41+ </issue >
You can’t perform that action at this time.
0 commit comments