![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <list>#include <set>#include <string>#include <map>#include <variant>#include <vector>Go to the source code of this file.
Classes | |
| struct | nix::OnStartup< T > |
| struct | nix::Explicit< T > |
| class | nix::BackedStringView |
Typedefs | |
| typedef std::list< std::string > | nix::Strings |
| using | nix::StringMap = std::map<std::string, std::string, std::less<>> |
| using | nix::StringPairs = StringMap |
| using | nix::StringSet = std::set<std::string, std::less<>> |
| typedef std::vector< std::pair< std::string, std::string > > | nix::Headers |
| using nix::StringMap = std::map<std::string, std::string, std::less<>> |
Alias to ordered std::string -> std::string map container with transparent comparator.
Used instead of std::map<std::string, std::string> to use C++14 N3657 1 heterogenous lookup consistently across the whole codebase. Transparent comparators get rid of creation of unnecessary temporary variables when looking up keys by std::string_view or C-style const char * strings.
| using nix::StringPairs = StringMap |
Alias to an ordered map of std::string -> std::string. Uses transparent comparator.
| using nix::StringSet = std::set<std::string, std::less<>> |
Alias to ordered set container with transparent comparator.
Used instead of std::set<std::string> to use C++14 N3657 1 heterogenous lookup consistently across the whole codebase. Transparent comparators get rid of creation of unnecessary temporary variables when looking up keys by std::string_view or C-style const char * strings.