summaryrefslogtreecommitdiff
path: root/src/coord.hh
AgeCommit message (Collapse)Author
2024-12-04Use default comparison impl for LineAndColumn and StronglyTypedNumberMaxime Coste
This is a bit simpler and should leave more leeway to the optimizer to detect it can compare the whole struct.
2023-05-21Fix warnings with gcc-13Maxime Coste
2021-11-21Convert comparisons to spaceship operatorMaxime Coste
2017-10-20Constexprify various hash functionsMaxime Coste
2017-09-01Make LineAndColumn an aggregate as wellMaxime Coste
2016-10-01Support codepoints of variable widthMaxime Coste
Add a ColumnCount type and use it in place of CharCount whenever more appropriate, take column size of codepoints into account for vertical movements and docstring wrapping. Fixes #811
2016-08-06Add information of types of optionsMaxime Coste
2015-03-11coords/units hashing refactoringMaxime Coste
2015-03-05Small code tweakMaxime Coste
2014-12-16Rework hashing, use a more extensible framework similar to n3876 proposalMaxime Coste
std::hash specialization is a pain to work with, stop using that, and just specialize a 'size_t hash_value(const T&)' free function.
2014-09-09Add support for target column preservationMaxime Coste
Fixes #64
2014-05-17set Coords/Counts methods as always_inlineMaxime Coste
They are well tested, and we never want to step into them when debugging
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh