2008-06-02から1日間の記事一覧

boost::function_typesのマクロ設定による動作変化

VC++7.1と9で確認したboost::function_typesのマクロ設定による動作変化の表です。わけわからなかったから出力してみた。 解かったこと。 デフォルトでfastcallとかに対応しない 設定は追加的じゃない。一部に対応させると他が効かなくなる この2つのことか…

boost::function_typesのis_member_function_pointer追記

あと、メンバ関数にthrowが付くとおかしくなるみたいです。 #include <iostream> #include <boost/function_types/is_function_pointer.hpp> #include <boost/function_types/is_member_pointer.hpp> #include <boost/function_types/is_member_function_pointer.hpp> #include <boost/type_traits.hpp> using namespace std; using namespace boost;…</boost/type_traits.hpp></boost/function_types/is_member_function_pointer.hpp></boost/function_types/is_member_pointer.hpp></boost/function_types/is_function_pointer.hpp></iostream>