#pragma once #include "ref.hh" #include #include #include namespace nix { using std::list; using std::set; using std::vector; using std::string; typedef list Strings; typedef set StringSet; typedef std::map StringMap; /* Paths are just strings. */ typedef std::string Path; typedef list Paths; typedef set PathSet; /* Helper class to run code at startup. */ template struct OnStartup { OnStartup(T && t) { t(); } }; }