rabbitfoot530's diary

読んだ本と、プログラムに関することのメモです。好きな言語は、C++, Python, Golang, TypeScript。数学・物理・学習理論も好きです。

boost::unordered_mapコンパイルエラー

デバッグプリント用にdefineでpを宣言してたら、unordered_mapの#includeのところでエラーがでた。

/usr/include/boost/unordered/detail/allocator_helpers.hpp: In member function ‘boost::unordered_detail::allocator_array_constructor<Allocator>::pointer boost::unordered_detail::allocator_array_constructor<Allocator>::release()’:

おとなしく、自分でdefineしたpをなくしたらビルド成功。