[cfe-dev] The state of Concepts in Clang

Tom Honermann via cfe-dev cfe-dev at lists.llvm.org
Thu Feb 16 07:55:00 PST 2017


On 2/15/2017 5:37 PM, Hubert Tong wrote:
> On Wed, Feb 15, 2017 at 4:24 PM, Tom Honermann
> <Thomas.Honermann at synopsys.com <mailto:Thomas.Honermann at synopsys.com>>
> wrote:
>
>     On 2/14/2017 10:24 AM, Hannes Hauswedell via cfe-dev wrote:
>     > I previously planned designing concepts as variables and don't yet see
>     > the added flexibility of the function interface as really important, but
>     > I agree that it adds consistency to also have function concepts.
>
>     I'll note that the Ranges proposal [1] exclusively specifies function
>     concepts.
>
> Which makes sense if you believe in overloading concept names.
>
> There's a proposal (not yet reviewed by the committee) on
> (characterization mine) being more conservative about how Concepts are
> in C++:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0587r0.pdf
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.open-2Dstd.org_jtc1_sc22_wg21_docs_papers_2017_p0587r0.pdf&d=DwMFaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=G16pPyziSz-5a5VnAMGWoEN2qIMOptadgDXbtSjlFFQ&m=FwFNsszDoQwt2HTgWbTyqrnZvODp7S_UH898DjFoYUo&s=ZQKCWxPSnxNrL9UaeFBw5BZdcx_gphNnAkxVqWhe1Zs&e=>

As well as the following ones that also have not yet been reviewed:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0324r0.html
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0464r1.html

Tom.




More information about the cfe-dev mailing list