![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <value.hh>
Classes | |
| class | iterator |
Public Types | |
| using | const_iterator = iterator |
Public Member Functions | |
| ListView (SmallList list) | |
| ListView (List list) | |
| Value *const * | data () const &noexcept |
| std::size_t | size () const noexcept |
| Value * | operator[] (std::size_t i) const noexcept |
| SpanType | span () const & |
| SpanType | span () &&=delete |
| Value *const * | data () &&noexcept=delete |
| iterator | begin () const & |
| iterator | end () const & |
| iterator | begin () &&=delete |
| iterator | end () &&=delete |
View into a list of Value * that is itself immutable.
Since not all representations of ValueStorage can provide a pointer to a const array of Value * this proxy class either stores the small list inline or points to the big list.