This is the mail archive of the gcc-bugs@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]

[Bug c++/29927] template instantiation with function type



------- Comment #2 from bangerth at dealii dot org  2006-11-22 03:59 -------
What exactly do you expect the code to do? 
  foo<int ()>();
leads to an instantiation of foo<T> with 
  T= int()()
i.e. reference to "no-arg function returning int". From
thereon I am a bit confused what exactly you intend to
do in foo()...

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]