Benjamin Buch
a1a30d431b
Suppress 'unused parameter' warnings in x3::parse_rule(...)
2016-05-12 21:18:01 +02:00
Benjamin Buch
5c782ee5e7
Suppress 'unused parameter' warnings in x3::detail::make_unique_context(...)
2016-05-12 21:00:03 +02:00
Benjamin Buch
6723910307
Suppress 'unused parameter' warnings in x3::detail::move_if_not_alternative::call(...)
2016-05-12 20:57:25 +02:00
Benjamin Buch
5b1a433d25
Suppress 'unused parameter' warnings in x3::detail::parse_into_container_base_impl::call(...)
2016-05-12 20:53:03 +02:00
Benjamin Buch
10286fafae
Suppress 'unused parameter' warnings in x3::detail::call(...)
2016-05-12 20:48:33 +02:00
Benjamin Buch
96272e324f
Suppress 'unused parameter' warnings in x3::get_info::operator()(...)
2016-05-12 20:46:33 +02:00
Benjamin Buch
3063a043c7
Suppress 'unused parameter' warnings in x3::lazy_semantic_predicate::parse(...)
2016-05-12 20:42:34 +02:00
Benjamin Buch
ce02014df6
Suppress 'unused parameter' warnings in x3::attr_parser::parse(...)
2016-05-12 20:38:58 +02:00
Benjamin Buch
c3f97a4615
Suppress 'unused parameter' warnings in rule.hpp
2016-05-12 20:35:12 +02:00
Benjamin Buch
277cdf7773
Suppress 'unused parameter' warnings in container_traits.hpp
2016-05-12 20:22:45 +02:00
Deokhwan Kim
a19bcb5b79
Suppress an "unused parameter" warning of rule_
...
The rule_ parameter is not used in parse_rule, which BOOST_SPIRIT_DEFINE
expands to. GCC with -Wunused-parameter (indirectly activated by -Wall
-Wextra) issues a warning when a function parameter is not used in its
function body.
2016-05-04 15:42:07 -04:00
mgresens
de81dc44dd
Using boost TTI library to replace hand-written TTI code.
2016-04-01 13:51:59 +02:00
Joel de Guzman
b818ca5c8d
- added x3 variant test
...
- added x3 variant, extended variant swap member function
2016-03-30 14:06:06 +08:00
Joel de Guzman
76c57b6005
call c.insert(iter, f, l) or c.inser(f, l) as appropriate depending on container type.
2016-03-28 11:56:21 +08:00
hia3
2085a9f509
dangling reference to attribute when BOOST_SPIRIT_X3_DEBUG is defined
...
dbg_attribute_type(attr_) creates a temporary that is bound to const reference inside of context_debug.
2016-03-26 22:07:13 +03:00
Joel de Guzman
9e488859da
Fixes for ticket https://svn.boost.org/trac/boost/ticket/12094
2016-03-26 09:13:16 +08:00
Joel de Guzman
c447315c1c
Use forward<T> as appropriate
2016-03-25 07:04:37 +08:00
hia3
a077a4cae4
fixes problem with move_to
...
Fix bug described here - http://article.gmane.org/gmane.comp.lib.boost.devel/266211
2016-03-19 08:30:23 +03:00
Joel de Guzman
035431b343
Partial fix for ticket 12064: change relative includes using double quotes to a uniform style using angle brackets.
2016-03-13 07:42:52 +08:00
Joel de Guzman
7690022b93
Bigfix: with_context should not return const context. doing so will introduce type conflicts and linker errors
2016-03-11 23:24:41 +08:00
Joel de Guzman
82bd5b2cc1
fixes problem with BOOST_SPIRIT_X3_DEBUG.
2016-03-04 07:01:18 +08:00
Joel de Guzman
d98a7dc9fb
Merge pull request #175 from octopus-prime/develop
...
x3::lit should delegate std::basic_string<Char> instead of Char*
2016-02-25 06:26:29 +08:00
octopus-prime
a39923104d
Use std::basic_string<Char> instead of Char*
2016-02-24 21:58:04 +01:00
Joel de Guzman
035fc0fd9d
- added static assert on phrase_parse to make sure user does not pass in unused_type skipper
...
- fixed symbols parser bug (fixes ticket 12016)
2016-02-24 06:29:41 +08:00
Michael Caisse
a4fe5b95af
Merge pull request #173 from MarcelRaad/patch-1
...
Add missing include for mpl::if_
2016-02-23 13:01:48 -08:00
Joel de Guzman
3cee512a4a
Merge pull request #170 from octopus-prime/develop
...
Cleaned up container_traits.
2016-02-22 03:43:31 +08:00
octopus-prime
8602d2b8eb
Replaced cend() by end().
2016-02-21 17:26:37 +01:00
octopus-prime
0037392a73
Changed push_back(unused_type, T const&) to push_back(unused_type, T&&).
2016-02-21 11:47:47 +01:00
Marcel Raad
e4ef5de16f
Add missing include for mpl::if_
...
This caused compile breaks when building Boost.Serialization.
2016-02-18 11:51:36 +01:00
Joel de Guzman
c8ed3fe2e3
Merge pull request #172 from Lastique/patch-1
...
Add missing includes required in impl/subrule.ipp
2016-02-14 01:26:22 +08:00
Andrey Semashev
a1564f0135
Add missing includes required in impl/subrule.ipp
2016-02-13 19:40:06 +03:00
Andrzej Krzemieński
2edabd2e6f
Added header for mpl::if_
...
without it trying to build quickbook fails for me with an error in MSVC 15.
2016-02-13 14:49:31 +01:00
Joel de Guzman
a8e391bd99
fix sequence partitioning problem
2016-02-04 08:49:53 +08:00
Joel de Guzman
d91cf74106
Fixes Ticket #11952
2016-02-04 08:49:53 +08:00
octopus-prime
9c2bc9f340
size calculation in has_reserve_method case only.
2016-01-30 11:15:33 +01:00
octopus-prime
1fbe050efa
Replaced c.end() by c.cend().
...
Replaced std::integral_constant<bool,
detail::has_reserve_method<Container>::value>() by typename
detail::has_reserve_method<Container>::type{}.
2016-01-28 08:41:14 +01:00
octopus-prime
045216a5c1
Add and use has_reserve_method construct to determine whether container
...
has reserve() method.
2016-01-27 23:49:55 +01:00
octopus-prime
27d3352ecf
Added reserve optimization for std::vector and std::basic_string
2016-01-26 22:30:41 +01:00
octopus-prime
c014a081b2
Cleaned up container_traits.
2016-01-26 21:46:35 +01:00
octopus-prime
c31e79efa8
Using insert() method of containers in push_back().
2016-01-26 19:23:56 +01:00
octopus-prime
cec9817bc4
Added support for std::multimap, std::unordered_map and
...
std::unordered_multimap.
2016-01-25 19:50:17 +01:00
Romain Geissler
a52d08d9bf
Fix "unused local typedefs" in grammar.ipp
2015-12-16 15:38:26 +01:00
Dmitry Marakasov
f0b6db5b72
Don't forward declare struct tst_pass_through
...
It is used later in find(), so complete type is needed.
Include tst.hpp which defines it.
2015-11-16 17:12:14 +03:00
Andrey Semashev
a6c79bc35c
Silence MSVC warnings
...
Silence mass MSVC-14 warnings:
boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<boost::spirit::tag::lit>::result_helper': redefinition of default parameter: parameter 3
boost/spirit/home/support/terminal.hpp(270): note: see declaration of 'boost::spirit::terminal<boost::spirit::tag::lit>::result_helper'
boost/spirit/home/support/common_terminals.hpp(142): note: see reference to class template instantiation 'boost::spirit::terminal<boost::spirit::tag::lit>' being compiled
boost/spirit/home/support/terminal.hpp(264): warning C4348: 'boost::spirit::terminal<boost::spirit::tag::lit>::result_helper': redefinition of default parameter: parameter 4
boost/spirit/home/support/terminal.hpp(270): note: see declaration of 'boost::spirit::terminal<boost::spirit::tag::lit>::result_helper'
and so on for all terminals.
2015-11-15 18:57:33 +03:00
Joel de Guzman
df92cb5c98
ascii char_type is now unsigned to allow 8 bits (reverted from commit 638e4ab54a)
2015-11-10 08:02:58 +08:00
Hartmut Kaiser
509b0891d7
Merge pull request #144 from vtnerd/BugFix_DuplicateAttribute
...
Fixed bug in karma::duplicate attribute reporting
2015-11-04 20:47:28 -06:00
Joel de Guzman
15bcb67b00
typo fix
2015-11-03 10:02:28 +08:00
Joel de Guzman
638e4ab54a
ascii char_type is now unsigned to allow 8 bits
2015-11-03 09:56:14 +08:00
Joel de Guzman
8e0fb1ac22
just to be sure we're not going out of bounds here.
2015-11-03 06:56:24 +08:00
Joel de Guzman
72c8428090
ascii char parsers now fails instead of asserts.
2015-11-02 14:48:54 +08:00