Last Updated:2025/12/08
Sentence
ライブラリの作者は、CRTP(自己再帰テンプレートパターン)の基底クラステンプレート内にインクラスの friend 関数を定義することでテンプレートの展開を制限する手法を用いて、どのテンプレート生成を許可するかを制御しました。
Quizzes for review
The library's author used the Barton-Nackman trick to restrict template expansion by defining an in-class friend function inside the base class template of the curiously recurring template pattern.
See correct answer
The library's author used the Barton-Nackman trick to restrict template expansion by defining an in-class friend function inside the base class template of the curiously recurring template pattern.
音声機能が動作しない場合はこちらをご確認ください
Related words
Barton-Nackman trick
Proper noun
Japanese Meaning
C++における制限されたテンプレート拡張の一形式。curiously recurring template patternの基本クラステンプレートの一部として、クラス内部でフレンド関数を定義する手法を指す。
Related Words
Word Edit Setting
- Users who have edit permission for words - All Users
- Screen new word creation
- Screen word edits
- Screen word deletion
- Screen the creation of new headword that may be duplicates
- Screen changing entry name
- Users authorized to vote on judging - Editor
- Number of votes required for decision - 1
Sentence Edit Setting
- Users who have edit permission for sentences - All Users
- Screen sentence deletion
- Users authorized to vote on judging - Editor
- Number of votes required for decision - 1
Quiz Edit Setting
- Users who have edit permission for quizzes - All Users
- Users authorized to vote on judging - Editor
- Number of votes required for decision - 1
