Commit Graph

51 Commits

Author SHA1 Message Date
Abel Sinkovics
e0350c0bfe Avoid using out of range char value while instantiating template <char...> template 2019-03-03 16:09:13 +01:00
Abel Sinkovics
4fa900edc7 Remove unused helper metafunction 2019-02-19 20:38:03 +01:00
Abel Sinkovics
4c78eaa39f Avoid the creation of zero length array in any_of_c. 2018-08-26 15:15:27 +02:00
Abel Sinkovics
60deeceaae Add C++11 implementation of sequence 2018-05-13 16:02:22 +02:00
Abel Sinkovics
6eb4af7d6f Add C++11 and C++14 implementation of one_of and repeated_one_of 2017-11-01 18:09:40 +01:00
Abel Sinkovics
31fc1aa39f Add C++11 implementation for one_char_except 2017-10-01 20:05:06 +02:00
Abel Sinkovics
1cb74cdbe1 Add C++11 implementation for first_of, last_of, nth_of 2017-08-14 23:41:50 +02:00
bagyibarna
da8f1c473a add support for string literal templates 2017-07-13 23:40:08 +02:00
Abel Sinkovics
33c28e770d Disable the C++11 implementation in gcc 4.6 and below 2017-05-14 16:38:06 +02:00
Abel Sinkovics
4146aab25b Don't use constexpr in c++98 code 2017-05-14 16:37:15 +02:00
Abel Sinkovics
58f4ee9d53 Separate C++98 and C++11 implementations 2017-04-20 16:35:06 +02:00
Abel Sinkovics
feeb5943e2 Oracle Studio fixes 2016-10-26 23:09:16 +02:00
Abel Sinkovics
411d0975f2 make_string use 2^n steps 2016-10-18 07:59:19 +02:00
Abel Sinkovics
f05504ed19 Reimplement BOOST_METAPARSE_STRING with specialising on the length of the string literal instead of its characters 2016-10-08 22:00:34 +02:00
Abel Sinkovics
e1d8cdbca6 Fix ambiguity in specialisations of split_at_c 2016-06-30 21:45:47 +02:00
Abel Sinkovics
61dde8e2ae Generate BOOST_METAPARSE_STRING with an external code generator 2016-06-05 22:04:25 +02:00
akumta
c7c81a076c Missing qualifier for exit call.
libs/metaparse/example/parsing_error/main.cpp fails to compile with Oracle Solaris Studio12.5.
It would be great if this can get in for Boost 1.61.
2016-04-08 14:07:09 -07:00
Abel Sinkovics
92753af8d7 Add comment on the extra checks for BOOST_NO_CONSTEXPR_C_STR 2016-04-02 13:12:43 +02:00
Abel Sinkovics
27ce534ca7 Don't define BOOST_NO_CONSTEXPR_C_STR in Clang 2016-04-02 13:12:23 +02:00
Abel Sinkovics
e9821acea2 Remove BOOST_USE_VARIADIC_TEMPLATES 2016-04-02 13:07:12 +02:00
Abel Sinkovics
31c26a4f7e Don't define BOOST_CONSTEXPR 2016-04-02 13:05:39 +02:00
Abel Sinkovics
6957fb6257 Remove BOOST_USE_CONSTEXPR 2016-04-02 13:05:01 +02:00
Abel Sinkovics
d8db2ac2ac Turn #ifndef BOOST_NO_CONSTEXPR_C_STR to #ifdef BOOST_NO_CONSTEXPR_C_STR 2016-04-02 13:00:01 +02:00
Abel Sinkovics
fa3cba3729 When there is no constexpr support, define BOOST_NO_CONSTEXPR_C_STR 2016-04-02 12:57:51 +02:00
Abel Sinkovics
2a3b4e3061 Remove duplicated conditions 2016-04-02 12:53:57 +02:00
Abel Sinkovics
008351770f Add space where a >> token might be generated for templates in pre-c++11 code 2016-02-09 22:28:42 +01:00
Abel Sinkovics
3ac75222e8 Use braces around the arguments of operator< in template arguments. 2016-02-05 22:46:23 +01:00
Abel Sinkovics
6eae446c69 Use int as the character type in non-variadic update_c 2016-02-04 21:59:41 +01:00
Abel Sinkovics
e1b6dfa9f3 Add BOOST_METAPARSE_VERSION 2015-10-17 13:15:15 +02:00
Abel Sinkovics
d33a0180f4 Add optional to metaparse.hpp 2015-09-14 21:14:32 +02:00
Abel Sinkovics
a2565e3b5c Add metaparse.hpp including all headers 2015-09-14 14:22:49 +02:00
Abel Sinkovics
ff00e25b99 Add sequence_apply 2015-09-14 14:13:44 +02:00
Abel Sinkovics
5a66a3e662 Reorder elements of foldr_start_with_parser 2015-09-10 21:15:28 +02:00
Abel Sinkovics
2a7aebca71 Add template parameters to foldr_start_with_parser 2015-09-10 20:44:07 +02:00
Abel Sinkovics
98c3b06b57 Stop using mpl::apply 2015-09-08 20:27:29 +02:00
Abel Sinkovics
0283507b71 Don't evaluate reject's result 2015-09-06 12:30:27 +02:00
Abel Sinkovics
9ed2bc644c Don't evaluate accept's result 2015-09-06 12:23:12 +02:00
Abel Sinkovics
1cb62d5659 Rename fold*f* and repeatf* parsers to fold*_reject_incomplete* and repeat_reject_incomplete* 2015-09-05 17:20:33 +02:00
Abel Sinkovics
4997c43eda Rename fold*p -> fold*_start_with_parser 2015-09-05 16:11:18 +02:00
Abel Sinkovics
5bfc198ea7 Rename any -> repeated 2015-09-05 11:14:21 +02:00
Abel Sinkovics
f053d03c15 Rename the BOOST_ macros to BOOST_METAPARSE_ 2015-08-29 16:23:44 +02:00
Abel Sinkovics
0b2923921b Rename BOOST_LIMIT macros to BOOST_METAPARSE_LIMIT 2015-08-29 16:06:28 +02:00
Abel Sinkovics
8a87ff8158 Change indentation of get_result 2015-08-15 21:55:20 +02:00
Abel Sinkovics
ddc7585524 Add optional parser combinator 2015-08-15 21:55:19 +02:00
Abel Sinkovics
bc09b4371b Remove parser_tag 2015-07-19 09:54:16 +02:00
Abel Sinkovics
1be3ba62fe Rename BOOST_STRING to BOOST_METAPARSE_STRING 2015-07-03 21:18:29 +02:00
Abel Sinkovics
c6a95fed8a Rename BOOST_DEFINE_ERROR to BOOST_METAPARASE_DEFINE_ERROR 2015-06-28 15:50:47 +02:00
Abel Sinkovics
81e0fe89b8 Stop sequence calling ::type on the results of the combined parsers 2015-06-28 15:02:01 +02:00
Abel Sinkovics
106c3d0c46 Change the remaining V2 to V1 in include guards and some macro names 2015-06-20 09:46:25 +02:00
Abel Sinkovics
4de8905c5a Add missing terminating 0 character to c_str 2015-06-20 07:46:15 +02:00