1 // Copyright (c) 2016 Klemens D. Morgenstern
\r
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
\r
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
6 #ifndef BOOST_PROCESS_DETAIL_TRAITS_ENV_HPP_
\r
7 #define BOOST_PROCESS_DETAIL_TRAITS_ENV_HPP_
\r
10 #include <boost/process/detail/traits/decl.hpp>
\r
13 namespace boost { namespace process {
\r
15 template<typename Char>
\r
16 class basic_environment;
\r
18 template<typename Char>
\r
19 class basic_native_environment;
\r
23 template<typename Char>
\r
29 template<typename Char> struct env_set;
\r
30 template<typename Char> struct env_append;
\r
32 template<typename Char> struct env_reset;
\r
33 template<typename Char> struct env_init;
\r
36 template<typename Char> struct initializer_tag<env_set<Char>> { typedef env_tag<Char> type; };
\r
37 template<typename Char> struct initializer_tag<env_append<Char>> { typedef env_tag<Char> type; };
\r
39 template<typename Char> struct initializer_tag<env_reset<Char>> { typedef env_tag<Char> type;};
\r
40 template<typename Char> struct initializer_tag<env_init <Char>> { typedef env_tag<Char> type;};
\r
42 template<typename Char> struct initializer_tag<::boost::process::basic_environment<Char>> { typedef env_tag<Char> type; };
\r
43 template<typename Char> struct initializer_tag<::boost::process::basic_native_environment<Char>> { typedef env_tag<Char> type; };
\r
45 template<> struct initializer_builder<env_tag<char>>;
\r
46 template<> struct initializer_builder<env_tag<wchar_t>>;
\r
53 #endif /* INCLUDE_BOOST_PROCESS_DETAIL_ENV_HPP_ */
\r