- 74 名前:デフォルトの名無しさん mailto:sage [04/01/12 04:29]
- それどころか、Modern C++ Designの表紙をめくったところで
template<int m1, int l1, int t1, int m2, int l2, int t2> Physical<m1+m2, l1+l2, t1+t2> operator*(Physical<m1,l1,t1> lhs Physical<m2,l2,t2> rhs ) { return Physical<m1+m2, l1+l2, t1+t2>::unit*lhs.value()*rhs.value(); } がいったいなんのことやら、と。
|

|