templatechar const(&chars_long_as(T(&)[N]))[N]; #define lengthof(array) (sizeof(chars_long_as(array)))
Expression templates http://www.osl.iu.edu/~tveldhui/papers/techniques/ ETはまだ不慣れなんで勉強しとく boost_spirit を使う http://www.fides.dti.ne.jp/%7Eoka-t/cpplab-boost-spirit.html
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。