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:
parent
a53b184e63
commit
bf12aedf2e
3 changed files with 20 additions and 0 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue