Commit 5aa97676 by Jason Merrill

up

From-SVN: r23399
parent 2b28d92e
......@@ -11,7 +11,7 @@ private:
template <typename T>
foo<T>::foo() :v(), t() {}
template <typename T=float> // ERROR - default parm for member template
foo<T>::foo(vector<int> v_) :v(v_), t() {}
template <typename T=float>
foo<T>::foo(vector<int> v_) :v(v_), t() {} // ERROR - default arg for member template
foo<float> a;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment