On 08/17/2012 02:12 PM, Marco Leise wrote:
Ok, last question: parent->isTemplateInstance() is actually keeping joiner() in std.algorithm from being inferred as nothrow, because it only goes up one level. E.g. it works for function templates, but not for templates containing structs containing functions. Was that just an oversight or are there technical reasons why there is no isNestedInATemplate() function used there?
Oversight. It shouldn't be done for virtual template member functions though.
http://d.puremagic.com/issues/show_bug.cgi?id=7511
