Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 11:01:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 207253] cad/openvsp: Fix in 11-CURRENT
Message-ID:  <bug-207253-29464-yNYrviXtR1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207253-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207253-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207253

--- Comment #23 from David Chisnall <theraven@FreeBSD.org> ---
I hadn't realised it had out-of-line definitions.  These also need prefixing
with ::.  The following works, and restricts the changes to the declaration=
 of
the template:

#include <iostream>
using namespace std;
template<typename T>
struct array {
       array(T t);
};
using ::array;
template<typename T>
::array<T>::array(T t) {}

array<int> x(1);

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207253-29464-yNYrviXtR1>