Barton-Nackman trick

Etymology
The technique was introduced by John Barton and Lee Nackman.

Proper noun

 * 1)  A form of restricted template expansion in C++, characterized by an in-class friend function definition appearing in the base class template component of the curiously recurring template pattern.