The decltype(declval) dance in the iterator traits is necessary because
DenseMap iterators aren't over std::pairs, but rather are over a
pair-like type defined in DenseMap. It used to work because we were
making a copy of the pair, but now that we're binding a reference to the
pair, we need to get the type exactly right.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 313 Build 313: arc lint + arc unit
Does clang::CallGraph::const_iterator::value_type work?