merge_class.hpp exceptions update