Mercurial > hg > gpsynth
view third_party/boost/process/environment.hpp @ 0:add35537fdbb tip
Initial import
author | irh <ian.r.hobson@gmail.com> |
---|---|
date | Thu, 25 Aug 2011 11:05:55 +0100 |
parents | |
children |
line wrap: on
line source
// // Boost.Process // ~~~~~~~~~~~~~ // // Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling // Copyright (c) 2009 Boris Schaeling // Copyright (c) 2010 Felipe Tanus, Boris Schaeling // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // /** * \file boost/process/environment.hpp * * Includes the declaration of the environment class. */ #ifndef BOOST_PROCESS_ENVIRONMENT_HPP #define BOOST_PROCESS_ENVIRONMENT_HPP #include <map> #include <string> namespace boost { namespace process { /** * Representation of a process' environment variables. * * The environment is a map that establishes an unidirectional * association between variable names and their values and is * represented by a string to string map. * * Variables may be defined to the empty string. Be aware that doing so * is not portable: POSIX systems will treat such variables as being * defined to the empty value, but Windows systems are not able to * distinguish them from undefined variables. * * Neither POSIX nor Windows systems support a variable with no name. * * It is worthy to note that the environment is sorted alphabetically. * This is provided for-free by the map container used to implement this * type, and this behavior is required by Windows systems. */ typedef std::map<std::string, std::string> environment; } } #endif