value_traits.hpp 798 B

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