On 9/10/2014 1:01 AM, Kagamin wrote:
It's questionable that testing every template instantiation is intended:
you can't do the same for templated functions.

Regardless of the (de)merits of deliberately putting unittests in a template, the important thing is this:

Whether a person intentionally *or inadvertently* winds up with a unittest inside a template, the whole "causes some of my unittests run when my lib's *users* run *their* project's unittests" is a highly unintuitive non-localized consequence.

Reply via email to