[PATCH] D16971: Fixed crash when partial specialization is missing required parameters
don hinton via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 7 11:16:16 PST 2016
hintonda added a comment.
Here's a snippet of code that will crash:
lass DB {};
template <typename T> class RemovePolicy : public T {};
template <typename T, typename Policy = RemovePolicy<T>>
class Crash : T, Policy {};
template <typename Policy>
class Crash<DB/*, Policy*/> : public DB, public Policy {
public:
Crash(){}
};
http://reviews.llvm.org/D16971
More information about the cfe-commits
mailing list