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
81c37ba431
Cleaned up tests.
2016-01-30 11:11:07 +01:00
octopus-prime
e94e7dcc12
Added static asserts for testing has_reserve_method of common
...
containers.
2016-01-28 09:36:35 +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
Joel de Guzman
d5a11a4156
Merge pull request #169 from octopus-prime/develop
...
Added support for std::multimap, std::unordered_map and std::unordered_multimap.
2016-01-27 04:25:35 +08:00
octopus-prime
dd80f32e5c
Renamed test_container_support() to test_sequence_support().
2016-01-26 20:10:54 +01:00
octopus-prime
2cd5e66cbf
Renamed test.
...
Added tests for:
<map>
<unordered_map>
<boost/unordered_map.hpp>
<vector>
<list>
<deque>
<set>
<unordered_set>
<boost/unordered_set.hpp>
<string>
2016-01-26 19:55:11 +01:00
octopus-prime
c31e79efa8
Using insert() method of containers in push_back().
2016-01-26 19:23:56 +01:00
octopus-prime
793ec4292c
Added test for map support.
2016-01-25 19:51:11 +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
Joel de Guzman
7e958b161b
Merge pull request #167 from ahmedcharles/patch-2
...
Fix typo in test case.
2015-12-23 09:36:56 +08:00
Ahmed Charles
53f210976b
Fix typo in test case.
2015-12-22 17:14:26 -08:00
Joel de Guzman
9bb43d8dc6
Merge pull request #166 from Romain-Geissler-1A/fix-grammar.ipp-warnings
...
Fix "unused local typedefs" in grammar.ipp
2015-12-17 06:42:47 +08:00
Romain Geissler
a52d08d9bf
Fix "unused local typedefs" in grammar.ipp
2015-12-16 15:38:26 +01:00
Joel de Guzman
aa3ff0c84e
Merge pull request #165 from AMDmi3/tst_pass_through
...
Don't forward declare struct tst_pass_through
2015-11-17 06:25:52 +08: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
Joel de Guzman
a00894d090
Merge pull request #164 from Lastique/patch-1
...
Silence MSVC warnings
2015-11-16 10:18:58 +08: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
25c00abf36
disabling test for ascii>127 for now
2015-11-10 08:27:16 +08: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
Joel de Guzman
547076384a
Merge pull request #136 from akumta/patch-3
...
Update grammar_tests.cpp
2015-10-23 05:32:23 +08:00
Joel de Guzman
999d031b5d
Merge pull request #162 from davidlt/fix-undefined-behavior-load_little_endian-11726
...
[develop] Fix undefined behavior in ../support/detail/endian/endian.hpp (#11726 )
2015-10-20 22:30:12 +08:00
David Abdurachmanov
86705a50af
Fix undefined behavior in ../support/detail/endian/endian.hpp ( #11726 )
...
Undefined behavior sanitizer (UBSan) with GCC 5.1.1 complains about left
shifting of negative value at run-time. This happens once
boost::spirit::detail::load_little_endian is used with a singed type.
The patch resolves the issue by using unsigned type for making left shifts,
then load_little_endian casts it to specific type T.
Tested with Clang and GCC locally (test case in #11726 ) and all worked fine.
Tested by running all Boost test cases before and after, no regressions.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2015-10-19 07:46:57 +00:00
Joel de Guzman
37d4094411
Merge pull request #160 from Flast/bugfix/link-error-on-test
...
Fix link error on classic's regression test.
2015-10-08 11:02:47 +08:00
Kohei Takahashi
95822caff7
Fix link error on classic's regression test.
2015-10-08 11:58:43 +09:00
Joel de Guzman
5208a27550
Merge pull request #159 from jhunold/none_t
...
Fix: use boost::none global instance instead of constructing it ourse…
2015-10-05 21:26:27 +08:00
Jürgen Hunold
534cf39f15
Fix: use boost::none global instance instead of constructing it ourselves.
...
Fixes regression introduce by Boost.Optional in
9f8dd573866a48938d53eab8eade1de41e62a6b1
2015-10-05 10:33:15 +02:00
Joel de Guzman
ee39bf566b
Merge pull request #158 from Flast/variadic-fusion
...
Support variadic fusion.
2015-09-27 20:42:29 +08:00
Joel de Guzman
f06250dfa3
Merge pull request #157 from sehe/develop
...
Fix compile error in word_count_lexer example
2015-09-26 07:36:24 +08:00
Seth Heeren
027e3049bb
Fix compile error in word_count_lexer example
2015-09-26 00:52:35 +02:00
Joel de Guzman
d71dc0b932
Merge pull request #156 from Romain-Geissler-1A/fix-warning-parse_tree.hpp
...
Fix "unused locally defined typedef" in parse_tree.hpp
2015-09-23 18:16:50 +08:00
Romain Geissler
adb0a92f50
Fix "unused locally defined typedef" in parse_tree.hpp
2015-09-23 11:58:14 +02:00
Joel de Guzman
cd02be6e57
Merge pull request #155 from jhunold/assign_fix
...
Fix: remove extraneous 'typename'
2015-09-09 05:55:29 +08:00
Jürgen Hunold
90027e6a8e
Fix: remove extraneous 'typename'
...
Defect introduced by new code in a4f9ea9d58
2015-09-08 20:53:58 +02:00
Joel de Guzman
cc9d51bd2a
Merge pull request #154 from stac47/fix_local_typdef
...
Fix local typedef definition warning
2015-09-07 19:57:16 +08:00
Laurent Stacul
502f4b9048
Fix local typedef definition warning
2015-09-07 11:16:00 +02:00
Joel de Guzman
ca497fc772
Merge pull request #153 from tobias-loew/fix-adt-adapted
...
reenabled support for BOOST_FUSION_ADAPT_ADT adapted structs
2015-08-31 16:35:21 +08:00
tobias-loew
a4f9ea9d58
reenabled support for BOOST_FUSION_ADAPT_ADT adapted structs
...
since commit 69cc537038
(hkaiser hkaiser
authored on 7 Nov 2009) spirit support BOOST_FUSION_ADAPT_ADT adapted
structs was broken
2015-08-31 10:17:25 +02:00
Adrian Vogelsgesang
7924736c8b
X3: set handles_container for expect directive
2015-08-20 00:31:29 +02:00