C++と色々

主にC++やプログラムに関する記事を投稿します。

2013-11-08から1日間の記事一覧

Visual C++ 12.0で boost iterator concepts がコンパイルエラーになる

C++

以下のコードがVisual C++ 12.0でコンパイルエラーになります。Boostのバージョンは1.55です。 #include <boost/iterator/iterator_concepts.hpp> int main() { } 出力 http://melpon.org/wandbox/permlink/oJdAALJZbyRJgIiG iterator_concepts.hpp(43): error C2448: 'BOOST_concept' : 関数の定義</boost/iterator/iterator_concepts.hpp>…