This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49418] openmp default(none) in template function
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jun 2011 13:34:52 +0000
- Subject: [Bug c++/49418] openmp default(none) in template function
- Auto-submitted: auto-generated
- References: <bug-49418-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-21 13:34:35 UTC ---
Perhaps the top-level quals from the older type could be used, if the standard
doesn't disallow it? Like, if T const arg is instantiated with T int or const
int, it would be int const arg, while if it is T arg instantiated with int or
const int, it would be int arg.