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++/26605] using + function templates troubles



------- Comment #9 from pcarlini at suse dot de  2006-03-08 16:20 -------
The below also works already (can make for an useful if ugly workaround, in
some cases, e.g., c++/21682):

namespace one
{
  template<typename T>
    void
    fun(T);
}

namespace two
{
  template<typename T>
    void
    fun(T);
}

using one::fun;
using two::fun;


-- 


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


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