changed the input type of mixed_container::add<T>