File indexing completed on 2025-01-19 09:47:39
0001
0002
0003
0004
0005
0006 #if !defined(BOOST_SPIRIT_KARMA_DELIMIT_FEB_20_2007_1208PM)
0007 #define BOOST_SPIRIT_KARMA_DELIMIT_FEB_20_2007_1208PM
0008
0009 #if defined(_MSC_VER)
0010 #pragma once
0011 #endif
0012
0013 #include <boost/spirit/home/support/unused.hpp>
0014 #include <boost/spirit/home/karma/detail/unused_delimiter.hpp>
0015
0016 namespace boost { namespace spirit { namespace karma
0017 {
0018
0019
0020
0021
0022 template <typename OutputIterator, typename Delimiter>
0023 inline bool delimit_out(OutputIterator& sink, Delimiter const& d)
0024 {
0025 return d.generate(sink, unused, unused, unused);
0026 }
0027
0028 template <typename OutputIterator>
0029 inline bool delimit_out(OutputIterator&, unused_type)
0030 {
0031 return true;
0032 }
0033
0034
0035 template <typename OutputIterator, typename Delimiter>
0036 inline bool delimit_out(OutputIterator&
0037 , detail::unused_delimiter<Delimiter> const&)
0038 {
0039 return true;
0040 }
0041
0042 }}}
0043
0044 #endif
0045