Skip to content

Commit c7bef0c

Browse files
committed
draft
1 parent 432e8f5 commit c7bef0c

4 files changed

Lines changed: 437 additions & 98 deletions

File tree

src/odr/document_element_identifier.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class ExtendedElementIdentifier {
7272
return {column(), row()};
7373
}
7474

75+
[[nodiscard]] ExtendedElementIdentifier without_extra() const noexcept {
76+
return ExtendedElementIdentifier(m_element_id);
77+
}
78+
7579
private:
7680
ElementIdentifier m_element_id{null_element_id};
7781
Extra m_extra0{no_extra};

0 commit comments

Comments
 (0)