Commit Graph

4777 Commits

Author SHA1 Message Date
Nikita Kniazev
b3ae790e2b Use endian macros from Predef
The `boost/detail/endian.hpp` header is deprecated.
2018-09-15 18:19:49 +03:00
Nikita Kniazev
925f40a2d0
Karma: Missing include for math::fpclassify 2018-08-17 00:59:08 +03:00
Nikita Kniazev
652943cee8
Merge pull request #392 from Kojoley/use-boost-math-changesign
Drop own fp routines in favor of `boost::math`
2018-07-29 15:40:01 +03:00
Nikita Kniazev
43f8b5035e Drop own fp routines in favor of boost::math
Remove own fp routines as Boost 1.40 released ~9 years ago.
The `boost::math::changesign` usage fixes trac 13531.
2018-07-27 20:26:11 +03:00
Nikita Kniazev
b023ffa272
Merge pull request #389 from Kojoley/classic-traverse_tests-off-by-one-error
Classic.Tests: traverse_tests: Fixed an off by one error
2018-07-11 15:10:18 +03:00
Nikita Kniazev
11e414737c Classic.Tests: traverse_tests: Fixed an off by one error 2018-07-08 17:12:15 +03:00
Nikita Kniazev
80ac3212a3 DOC: Forget to close section 2018-07-02 01:12:37 +03:00
Nikita Kniazev
e2c3a539ad Misstyped version digit [skip ci] 2018-07-01 19:45:03 +03:00
Nikita Kniazev
2d1b8eb95d Bump version and update changelog [skip ci] 2018-07-01 19:32:50 +03:00
Nikita Kniazev
66feb4831f
Merge pull request #388 from boostorg/develop
Prepare Boost 1.68
2018-07-01 14:19:28 +03:00
Nikita Kniazev
bbfa94974d
Merge pull request #379 from RandomInEqualities/develop
X3: variant: More fixes for compilation with VS2015 Update 3
2018-07-01 01:31:12 +03:00
Christian Andersen
27c2fb5a53 X3: variant: More fixes for compilation with VS2015 Update 3
This applies the fix in 6d6f40c3e5 to all BOOST_NOEXCEPT_IF statements in
variant.cpp. I have trouple compiling a toy project with VS2015, as these
noexcept if statements fails to compile.
2018-06-30 16:37:52 +03:00
Nikita Kniazev
ecb91f1b7d
Merge pull request #386 from boostorg/fix-for-pr336
Classic: The right fix for PR 336
2018-06-29 14:06:26 +03:00
Nikita Kniazev
b4c5ef702b CI: Added thread library to link deps list 2018-05-03 23:37:30 +03:00
Nikita Kniazev
4f871aefa8
Merge pull request #384 from hmenke/calc4b
Make calc4b actually compile
2018-04-26 14:42:56 +03:00
Nikita Kniazev
8a5eeb7dc1 X3.Tests: Missing calc4b in the Jamfile 2018-04-26 14:42:02 +03:00
Henri Menke
1e0e0f29ba
Make calc4b actually compile 2018-04-25 18:03:06 +12:00
Nikita Kniazev
cfe94349e2 Classic: The right fix for PR 336 2018-04-17 19:04:51 +03:00
Joel de Guzman
aa2a2685e6
Merge pull request #383 from sehe/develop
Specialize iterator_source for random access
2018-04-09 06:24:39 +08:00
sehe
4196998377 Specialize iterator_source for random access
Optimizing this case allows the compiler to achieve a large speedup
especially in the case where the underlying range is contiguous in
memory.

The effective result is for the performance to be equivalent to directly
using `boost::iostreams::array_source<char_type>` if the source range so
allows.

This patch arose from benchmarking several varying approaches to parsing
posix timestamps here:

 - https://stackoverflow.com/questions/49693376/why-does-using-a-stream-in-boost-spirit-penalize-performance-so-much
 - https://stackoverflow.com/questions/49671674/use-a-trait-for-parsing-a-date-in-boostspirit

I'll refer to that location for some benchmark results.
2018-04-08 13:35:44 +02:00
djowel
08af6da9c4 small typo fix 2018-03-28 06:35:34 +08:00
djowel
25e29006de Tutorial updates: more details on BOOST_SPIRIT_DEFINE, BOOST_SPIRIT_DECLARE and BOOST_SPIRIT_INSTANTIATE 2018-03-28 06:30:41 +08:00
djowel
11fa827b9b minor updates 2018-03-27 15:56:51 +08:00
djowel
c2d982481e - Tutorial updates
- Minimal example docs
2018-03-27 15:56:51 +08:00
Akira Takahashi
13c5bc93f7 [1.67.0] fix issue URL
ref : https://github.com/boostorg/website/pull/316
2018-03-20 14:52:56 +03:00
Nikita Kniazev
ae78e1ec24 X3: sequence: Fixed reference to temporary bug 2018-03-16 20:10:37 +03:00
Nikita Kniazev
e7f31017ec Qi: Fixed ADT support by permutation and sequence_or operator
This is follow-up to 0f2b3c49ce
2018-03-16 01:23:31 +03:00
Nikita Kniazev
1d9aa696bf Karma: Fixed use after scope bug if ADT getter returns by value
The `extract_from_attribute` returns a reference to a temporary
value produced by calling Fusion ADT adapted sequence getter that
returns by value.

Was reported 6 years ago https://svn.boost.org/trac10/ticket/6126
2018-03-15 18:50:17 +03:00
Nikita Kniazev
8085c08547
Merge pull request #374 from Kojoley/ts_real_policies
ts_real_policies: Fixes and optimizations
2018-03-15 03:52:39 +03:00
Nikita Kniazev
4213d53d9a X3: More fine grained sequence attribute check message 2018-03-14 15:41:01 +03:00
Nikita Kniazev
b22686b7d7
Qi: skip_over: Remove redundant check
End iterator check is redundant here because it is done in skipper.

Follow-up to PR #373.
2018-03-12 18:25:11 +03:00
Nikita Kniazev
bfec8c66f9 X3: skip_over: Remove redundant check
End iterator check is redundant here because it is done in skipper.
2018-03-11 17:38:51 +03:00
Nikita Kniazev
3b0b33bece DOC: SGI.com Tech Archive Resources now retired [skip ci] 2018-03-11 17:38:22 +03:00
Nikita Kniazev
02c3c30077 ts_real_policies: Parse directly into output parameter
There is no need to initialize accumulator with zero value before the first
call to `parse`, and to use a temporary.
2018-03-10 19:22:28 +03:00
Nikita Kniazev
dc9e23e9f5 ts_real_policies: Output parameter is of actual accumulator type 2018-03-10 19:12:28 +03:00
Nikita Kniazev
e472c0536f ts_real_policies: One iterator copy less optimization 2018-03-10 19:09:41 +03:00
Nikita Kniazev
1a72c27306 ts_real_policies: Fixed small numbers parsing
Numbers in range (-1000.0, 1000.0) has only one segment (no thousands delimiter),
and are parsed in `if` statement expression.
2018-03-10 19:06:11 +03:00
djowel
54d0167bc8 error handling docs 2018-03-08 11:09:56 +08:00
djowel
130e6395d7 Annotation tutorial example docs 2018-03-08 11:09:56 +08:00
Nikita Kniazev
a0df3c098f
Merge pull request #370 from Kojoley/x3-pass-container-attribute-through-sequence
X3: Pass container attribute through sequence
2018-03-01 13:44:27 +03:00
Nikita Kniazev
fac9dfae9e X3: Pass container attribute through sequence 2018-02-28 23:21:31 +03:00
Nikita Kniazev
f73b121a83
Merge pull request #246 from ecatmur/ubsan-abs-negation-in-unsigned
Karma: Perform negation in unsigned type to prevent UB
2018-02-24 17:57:26 +03:00
Nikita Kniazev
a1e9668c34
Merge pull request #368 from Kojoley/small-list-parser-optimization
Small list parser optimization
2018-02-24 05:01:07 +03:00
Nikita Kniazev
b0e8095a94 Suppress MSVC C4146 warning 2018-02-24 04:55:05 +03:00
Nikita Kniazev
42e1d4989b X3: Small list parser optimization 2018-02-23 23:09:34 +03:00
Nikita Kniazev
b9ac3e4a23 Added comment of implementation limitations 2018-02-23 22:42:54 +03:00
Nikita Kniazev
c7f2b86118 Removed redundant static_cast 2018-02-23 22:32:17 +03:00
Nikita Kniazev
81e7cf4697
Merge pull request #367 from Kojoley/classic-parser_names.ipp-unused-parameter-warnings
Classic: parser_names.ipp: Fixed unused parameter warnings
2018-02-23 20:28:09 +03:00
djowel
a9ce56c739 Annotations example 2018-02-23 06:50:38 +08:00
Nikita Kniazev
0831d603e4 Classic: parser_names.ipp: Fixed unused parameter warnings 2018-02-22 20:49:20 +03:00