Re: Why is this still not allowed by gcc while MSVC does(const template argument)

2007-11-05 Thread Ian Lance Taylor
"Jun Chen" <[EMAIL PROTECTED]> writes: > Please check the following small program: This is the wrong mailing list. Please use [EMAIL PROTECTED] for questions about using gcc. The mailing list gcc@gcc.gnu.org is for developers of gcc itself. Please take any followups to [EMAIL PROTECTED] Thank

Why is this still not allowed by gcc while MSVC does(const template argument)

2007-11-04 Thread Jun Chen
Please check the following small program: (NOTE: {code} and {noformat} below are just Confluence Wiki markup, you can ignore them when reading.) {code} #include template class CEnsureCleanup_array { int m_ArraySize; USER_TYPE *m_ar; // This member representing the object array