[Bug 207253] cad/openvsp: Fix in 11-CURRENT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 26 11:01:20 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207253
--- Comment #23 from David Chisnall <theraven at 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);
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list