554db2f07d
Merge pull request #35 from very-cool-name/apolukhin/constexpr
...
Apolukhin/constexpr
2017-08-29 09:07:59 -07:00
f9583cfd39
Merge pull request #36 from DanielaE/feature/replace-deprecated
...
Conditionally replace deprecated c++98 features by c++11 ones
2017-08-29 07:41:02 -07:00
8ae18ae455
Conditionally replace deprecated c++98 features by c++11 ones
...
change std::random_shuffle -> std::shuffle + random_engine if indicated by the supported language level or Boost configuration macro.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-07-20 16:33:17 +02:00
f14719c3a9
Replace an assert in a test with BOOST_CHECK
2017-06-28 10:04:25 -07:00
6bd8bc197a
use boost::algorithm::iota in the tests instead of std::iota, which requires C++11
2017-06-28 07:58:21 -07:00
334737eebe
Implement the C++17 new algorithms
2017-06-27 16:43:17 -07:00
000040b3d9
binary_function is removed from equal and unary_function removed from tests.
2017-06-19 19:03:00 +03:00
d6b7f3da90
Use boost::begin/end instead of macros
2017-05-03 22:38:21 -07:00
0e62dfb92e
Merge pull request #33 from ZaMaZaN4iK/feature_branch/is_partitioned_until
...
is_partitioned_until support
2017-05-03 18:15:09 -07:00
f250014931
Merge pull request #38 from DanielaE/fix/narrowing
...
fix narrowing conversions
2017-05-03 18:14:28 -07:00
56d88410c6
fix narrowing conversions
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-04-22 18:35:17 +02:00
968d30e9e3
Merge branch 'develop' into apolukhin/constexpr
2017-04-10 12:16:38 +03:00
dfa332e915
Updated constexpr tests for all affected modules. Added conditional constexpr to equal, which uses std::distance.
2017-04-07 22:31:23 +03:00
5d76dab9b8
Merge remote-tracking branch 'refs/remotes/origin/feature_branch/is_partitioned_until'
...
Conflicts:
README.md
2017-02-22 01:26:16 +03:00
6f34145390
Removed empty README.md, fixed docs
2017-02-22 01:25:38 +03:00
a446ef0758
Cleaned README
2017-02-15 00:11:10 +03:00
383e800df9
Added examples, tests, doc
2017-02-14 15:59:07 +03:00
a838feb81a
Added is_partitioned_until
...
* Fixed doxygen comment in is_partitioned algorithm.
2017-02-14 12:22:49 +03:00
17d4f70e97
Merge pull request #32 from jhunold/extra_semi
...
Remove trailing ";" - thanks!
2017-01-06 18:19:59 -08:00
d22c60c2d4
Remove trailing ";"
...
clang warning: extra ';' after member function definition [-Wextra-semi]
2017-01-06 09:59:12 +01:00
037fe4e33d
Merge pull request #31 from danieljames/fix-algorithm-location
...
Build the algorithm documentation standalone.
2016-12-13 19:30:52 -08:00
25d54bd1e8
Build the algorithm documentation standalone.
2016-12-13 21:38:40 +00:00
e442420d49
Change name of (another) parameter; fixes 'shadowing' warning (Trac #12623 )
2016-11-25 20:50:53 -08:00
42db8a4403
Change name of parameter; fixes 'shadowing' warning (Trac #12623 )
2016-11-25 08:11:01 -08:00
9b19fc00c2
use std::shuffle instead of random_shuffle in C++11 and later
2016-11-20 17:24:19 -08:00
7977bd0cdc
Remove all mentions of (unary|binary)_function; not needed and they have been removed for C++17
2016-11-20 17:02:49 -08:00
efd7a8b544
Updated the docs for the searchers to reflect the new interface, and added rationale for the change.
2016-10-26 11:22:37 -07:00
8dfebc4580
Added README.md
2016-10-25 14:31:26 +03:00
6a650ade1d
Merge pull request #28 from ZaMaZaN4iK/feature_branch/is_palindromic
...
Delete duplicate version is_palindrome
2016-10-12 16:42:14 -07:00
303ff13b86
Delete duplicate version os is_palindrome
2016-10-12 22:22:30 +03:00
eccac19108
Add, and update, documentation build targets.
2016-10-07 23:03:40 -05:00
8627d02f20
Merge pull request #2 from boostorg/develop
...
Sync develop branch with master
2016-08-19 21:44:27 +03:00
b3dabe10e4
Add missing error_info include
2016-08-17 13:54:58 -07:00
f1e9d3140c
Made is_palindrome work for C++03
2016-08-17 13:49:16 -07:00
18bcbba8f4
Merge pull request #22 from ZaMaZaN4iK/feature_branch/is_palindromic
...
Disabled 'is_palindrome' with 'const char*'
2016-08-16 18:19:15 -07:00
ff79a9c2db
Updated tests
2016-08-16 16:22:01 +03:00
a53b0121b9
Updated documentation for is_palindrome
2016-08-16 16:20:22 +03:00
42bbfdeb4c
Deleted support for nullptr, NULL and 0.
...
I think user shouldn't send to 'is_palindrome' zero, NULL or nullptr as parameter. As value of const char* it's possible, of course. But cases 'is_palindrome(0)', 'is_palindrome(NULL)' and 'is_palindrome(nullptr)' is silly and it should be restricted by design.
2016-08-16 16:18:21 +03:00
3c25ce1090
Added C-String support for 'is_palindrome'
...
Updated doc, example and tests.
2016-08-16 05:14:56 +03:00
0f5136de65
Merged branch feature_branch/is_palindromic into feature_branch/is_palindromic
2016-08-15 04:10:10 +03:00
774fb437f3
Disabled 'is_palindrome' for 'const char*'
2016-08-15 04:09:48 +03:00
f6d20e612b
Merge pull request #20 from MarcelRaad/patch-1
...
Remove unused bad include; remind me in a week (after the tests have cycled), and I'll merge to master. Thanks!
2016-07-14 11:46:33 -07:00
71ed4a159f
Remove unused bad include
...
boost/exception/errinfo_errno.hpp, included in boost/exception/all.hpp, pushes the warning level to 1 on MSVC, but emits a level 1 warning with /sdl. Only exception.hpp and throw_exception.hpp are necessary.
2016-07-14 11:36:47 +02:00
712f16d000
Merge pull request #19 from ZaMaZaN4iK/feature_branch/is_palindromic
...
Added `is_palindrome` from @ ZaMaZaN4iK
2016-07-11 08:27:48 -07:00
1a34a6935b
[micro] Added "#include <functional>"
2016-07-11 18:26:18 +03:00
093900a8f3
[micro] Replaced constructor of singleElement
...
Replaced bracket initializes constructor to simply constructor with two arguments in std::vector
2016-07-11 18:25:04 +03:00
4fcb7afa84
Merge branch 'feature_branch/is_palindromic' of https://github.com/ZaMaZaN4iK/algorithm into feature_branch/is_palindromic
2016-07-10 22:53:57 +03:00
52f91139af
Fix comments
2016-07-10 22:52:55 +03:00
fb964d72d7
Updated documentation for is_palindrome
...
Added two lines with examples.
2016-07-06 23:00:55 +03:00
366274ff0a
Added new tests to is_palindrome_test
...
Added evenNonPalindrome and oddPalindrome tests.
2016-07-06 22:56:02 +03:00