replace ifndef endif with pragma once
remove boost ptr_container dependency