Re: questions about cv-qulifier for function.

2010-12-01 Thread Jonathan Wakely
On 1 December 2010 10:28, zhang qingshan wrote: > Hi, team This sort of question should be sent the mailing list gcc-h...@gcc.gnu.org, not the mailing list g...@gcc.gnu.org. gcc@gcc.gnu.org is for the development of gcc itself. Please take any future questions about using gcc to gcc-help. Thank

questions about cv-qulifier for function.

2010-12-01 Thread zhang qingshan
Hi, team Question 1: std(N3000=09-0190) 8.3.5/6 says that: A cv-qualifier-seq shall only be part of the function type for a non-static member function, the function type to which a pointer to member refers, or the top-level function type of a function typedef declaration. const void func(); ca