token.hpp 632 B

12345678910111213141516171819202122232425262728
  1. #ifndef BOOST_METAPARSE_V1_TOKEN_HPP
  2. #define BOOST_METAPARSE_V1_TOKEN_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/metaparse/v1/space.hpp>
  8. #include <boost/metaparse/v1/repeated.hpp>
  9. #include <boost/metaparse/v1/first_of.hpp>
  10. #include <boost/mpl/void.hpp>
  11. namespace boost
  12. {
  13. namespace metaparse
  14. {
  15. namespace v1
  16. {
  17. template <class P>
  18. struct token : first_of<P, repeated<space> > {};
  19. }
  20. }
  21. }
  22. #endif