This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 04/24/2012 05:24 PM, Paolo Carlini wrote:Just wanted to add that we should indeed do this also to catch things like:If the default argument isn't dependent on other template parameters, we can check immediately whether it is a suitable template argument for its parameter, including being a constant expression.Perhaps we aren't checking default arguments unless they're actually used; a could change that if they aren't dependent.
Your reply reached the mailing list a bit mangled, could you please clarify?
template <char param = &blah::member> class template6_blah;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |