20 #include <unordered_map> 27 namespace experimental {
34 using EnvType = std::unordered_map<std::string, std::string>;
76 std::vector<std::string>
toVector()
const;
92 using std::runtime_error::runtime_error;
114 state_->setAsCurrentEnvironment();
119 std::unique_ptr<experimental::EnvironmentState>
state_;
std::unordered_map< std::string, std::string > EnvType
constexpr detail::Map< Move > move
std::unique_ptr< experimental::EnvironmentState > state_
EnvVarSaver(EnvVarSaver &&other) noexcept
—— Concurrent Priority Queue Implementation ——
EnvVarSaver & operator=(EnvVarSaver &&other) noexcept
requires E e noexcept(noexcept(s.error(std::move(e))))
EnvType const & operator*() const
std::vector< std::string > toVector() const
EnvironmentState(EnvType &&env)
static EnvironmentState fromCurrentEnvironment()
static EnvironmentState empty()
EnvType const * operator->() const
std::unique_ptr< char *, void(*)(char **)> toPointerArray() const
std::enable_if<!std::is_array< T >::value, std::unique_ptr< T > >::type make_unique(Args &&...args)
EnvironmentState(EnvType const &env)
void setAsCurrentEnvironment()