Meanings
- computingA 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.
Origin
The technique was introduced by John Barton and Lee Nackman.
Full word history & related roots →Cite this entry
Barton-Nackman trick. (n.d.). In WatkinsX Dictionary. Retrieved November 4, 2026, from https://dictionary.watkinsx.com/word/Barton-Nackman%20trick
“Barton-Nackman trick.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/Barton-Nackman%20trick. Accessed November 4, 2026.
WatkinsX Dictionary, s.v. “Barton-Nackman trick,” accessed November 4, 2026, https://dictionary.watkinsx.com/word/Barton-Nackman%20trick.
Source: Barton-Nackman trick on Wiktionary, CC BY-SA 4.0.