- 495 名前:デフォルトの名無しさん mailto:sage [2010/04/23(金) 23:35:48 ]
- ・eval_ifに渡すラッパー
・変数宣言 ○int *p1, *p2; ×int* p1, p2; ○boost::mpl::identity<int*>::type p1, p2; ・メタ関数をつくるヘルパ(例:osteram等から同じ文字型とTraitsのbasic_stringをつくる、strメタ関数 template<typename Stream> struct str : public boost::mpl::identity< std::basic_string<typename Stream::char_type, typename Stream::traits_type> > { };
|

|