Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Doxygen のさまざまな範囲のテンプレート値の動作のリストを追加する「一般的な」方法はありますか?
たとえば、次のようにします。
template<int Var> class MyClass{};
Var < 0、Var = 0、および Var > 0 の動作を説明します。それを明確に表現するにはどうすればよいですか?
tparamを使用して、テンプレート パラメータを文書化できます。
そこに収まらない場合は、おそらくparコマンドを使用して、クラスのドキュメント内の動作を説明します。