1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

libutil: Document hacks and problems around Pos class

This should provide context for follow-up commits in
the patch series.
This commit is contained in:
Sergei Zimmerman 2025-03-13 12:55:42 +00:00
parent a53b184e63
commit bf12aedf2e
3 changed files with 20 additions and 0 deletions

View file

@ -50,6 +50,7 @@ struct Pos
explicit operator bool() const { return line > 0; }
/* TODO: Why std::shared_ptr<Pos> and not std::shared_ptr<const Pos>? */
operator std::shared_ptr<Pos>() const;
/**