Brian Bi
2018-11-04 20:14:58 UTC
P1073R1 <http://wg21.link/p1073r1> introduces immediate functions:
functions declared with the constexpr! specifier, which forces all
invocations to be constant expressions. I wonder whether it might make
sense to allow the following type of code:
template <int> struct Foo {};
constexpr! void bar(int x) { Foo<x> foo; }
functions declared with the constexpr! specifier, which forces all
invocations to be constant expressions. I wonder whether it might make
sense to allow the following type of code:
template <int> struct Foo {};
constexpr! void bar(int x) { Foo<x> foo; }
--
*Brian Bi*
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+***@isocpp.org.
To post to this group, send email to std-***@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMmfjbOT8toNhvzWc9NoCrb0G3DYOzc%2BRZ9yZZrd6jtJDs1G%3DQ%40mail.gmail.com.
*Brian Bi*
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+***@isocpp.org.
To post to this group, send email to std-***@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMmfjbOT8toNhvzWc9NoCrb0G3DYOzc%2BRZ9yZZrd6jtJDs1G%3DQ%40mail.gmail.com.