delimit_flag.hpp 826 B

123456789101112131415161718192021222324252627
  1. // Copyright (c) 2001-2011 Hartmut Kaiser
  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. #if !defined(BOOST_SPIRIT_KARMA_DELIMIT_FLAG_DEC_02_2009_1201PM)
  6. #define BOOST_SPIRIT_KARMA_DELIMIT_FLAG_DEC_02_2009_1201PM
  7. #if defined(_MSC_VER)
  8. #pragma once
  9. #endif
  10. #include <boost/spirit/home/support/detail/scoped_enum_emulation.hpp>
  11. namespace boost { namespace spirit { namespace karma
  12. {
  13. ///////////////////////////////////////////////////////////////////////////
  14. BOOST_SCOPED_ENUM_START(delimit_flag)
  15. {
  16. predelimit, // force predelimiting in generate_delimited()
  17. dont_predelimit // inhibit predelimiting in generate_delimited()
  18. };
  19. BOOST_SCOPED_ENUM_END
  20. }}}
  21. #endif