13#include <unordered_map>
20 :
private std::multimap<double, LaneSection>,
22 using Super = std::multimap<double, LaneSection>;
46 using Super::upper_bound;
47 using Super::lower_bound;
57 std::unordered_map<SectionId, LaneSection *>
_by_id;
这个类用于禁止拷贝构造函数和赋值操作,但允许移动构造函数和赋值操作
std::multimap< double, LaneSection > Super
const LaneSection & GetById(SectionId id) const
std::unordered_map< SectionId, LaneSection * > _by_id
LaneSection & Emplace(SectionId id, double s)
LaneSection & GetById(SectionId id)