]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2001-2014 Joel de Guzman | |
3 | Copyright (c) 2001-2011 Hartmut Kaiser | |
4 | http://spirit.sourceforge.net/ | |
5 | ||
6 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
7 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
8 | =============================================================================*/ | |
9 | #if !defined(BOOST_SPIRIT_X3_VALUE_TRAITS_MAY_07_2013_0203PM) | |
10 | #define BOOST_SPIRIT_X3_VALUE_TRAITS_MAY_07_2013_0203PM | |
11 | ||
12 | #include <boost/utility/value_init.hpp> | |
13 | ||
14 | namespace boost { namespace spirit { namespace x3 { namespace traits | |
15 | { | |
16 | template <typename T, typename Enable = void> | |
17 | struct value_initialize | |
18 | { | |
19 | static T call() | |
20 | { | |
21 | return boost::value_initialized<T>(); | |
22 | } | |
23 | }; | |
24 | }}}} | |
25 | ||
26 | #endif |