[Bug c++/10807] [DR 295] It should be possible to cv-qualify function types, if the CV qualifications are introduced through a typedef or a template argument

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 2 15:03:00 GMT 2004


------- Additional Comments From nathan at gcc dot gnu dot org  2004-04-02 15:03 -------
DR 295 applies during substitution, but not during deduction. Hence
  void bar(const volatile T& p)
fails deduction for the call.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10807



More information about the Gcc-bugs mailing list