mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 07:52:43 +01:00
libutil: Document hacks and problems around Pos class
This should provide context for follow-up commits in
the patch series.
(cherry picked from commit bf12aedf2e)
This commit is contained in:
parent
fd86343b89
commit
7eaf8ec028
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