]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/process/detail/traits/env.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / process / detail / traits / env.hpp
CommitLineData
b32b8144
FG
1// Copyright (c) 2016 Klemens D. Morgenstern
2//
3// Distributed under the Boost Software License, Version 1.0. (See accompanying
4// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef BOOST_PROCESS_DETAIL_TRAITS_ENV_HPP_
7#define BOOST_PROCESS_DETAIL_TRAITS_ENV_HPP_
8
9
10#include <boost/process/detail/traits/decl.hpp>
11
12
13namespace boost { namespace process {
14
15template<typename Char>
16class basic_environment;
17
18template<typename Char>
19class basic_native_environment;
20
21namespace detail {
22
23template<typename Char>
24struct env_tag {};
25
26
27
28
29template<typename Char> struct env_set;
30template<typename Char> struct env_append;
31
32template<typename Char> struct env_reset;
33template<typename Char> struct env_init;
34
35
36template<typename Char> struct initializer_tag<env_set<Char>> { typedef env_tag<Char> type; };
37template<typename Char> struct initializer_tag<env_append<Char>> { typedef env_tag<Char> type; };
38
39template<typename Char> struct initializer_tag<env_reset<Char>> { typedef env_tag<Char> type;};
40template<typename Char> struct initializer_tag<env_init <Char>> { typedef env_tag<Char> type;};
41
42template<typename Char> struct initializer_tag<::boost::process::basic_environment<Char>> { typedef env_tag<Char> type; };
43template<typename Char> struct initializer_tag<::boost::process::basic_native_environment<Char>> { typedef env_tag<Char> type; };
44
45template<> struct initializer_builder<env_tag<char>>;
46template<> struct initializer_builder<env_tag<wchar_t>>;
47
48}
49
50
51}}
52
53#endif /* INCLUDE_BOOST_PROCESS_DETAIL_ENV_HPP_ */