Commit Graph

573 Commits

Author SHA1 Message Date
Marshall Clow
c5b41eba46 Merge to master for 1.62.0 release 2016-08-17 13:32:45 -07:00
Marshall Clow
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
Alexander
ff79a9c2db Updated tests 2016-08-16 16:22:01 +03:00
Alexander
a53b0121b9 Updated documentation for is_palindrome 2016-08-16 16:20:22 +03:00
Alexander
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
Alexander Zaitsev
3c25ce1090 Added C-String support for 'is_palindrome'
Updated doc, example and tests.
2016-08-16 05:14:56 +03:00
Alexander Zaitsev
0f5136de65 Merged branch feature_branch/is_palindromic into feature_branch/is_palindromic 2016-08-15 04:10:10 +03:00
Alexander Zaitsev
774fb437f3 Disabled 'is_palindrome' for 'const char*' 2016-08-15 04:09:48 +03:00
Marshall Clow
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
Marcel Raad
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
Marshall Clow
712f16d000 Merge pull request #19 from ZaMaZaN4iK/feature_branch/is_palindromic
Added `is_palindrome` from @ ZaMaZaN4iK
2016-07-11 08:27:48 -07:00
Alexander
1a34a6935b [micro] Added "#include <functional>" 2016-07-11 18:26:18 +03:00
Alexander
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
Alexander Zaitsev
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
Alexander Zaitsev
52f91139af Fix comments 2016-07-10 22:52:55 +03:00
Alexander
fb964d72d7 Updated documentation for is_palindrome
Added two lines with examples.
2016-07-06 23:00:55 +03:00
Alexander
366274ff0a Added new tests to is_palindrome_test
Added evenNonPalindrome and oddPalindrome tests.
2016-07-06 22:56:02 +03:00
Alexander Zaitsev
1ec1cd3045 Fixed is_palindrome_test 2016-07-06 11:57:05 +03:00
Alexander Zaitsev
9bee197bd8 Added all files to the new repository 2016-07-06 11:42:18 +03:00
Marshall Clow
5314d592e3 Fix up misleading indentation; Fixes https://svn.boost.org/trac/boost/ticket/12206 2016-05-16 07:47:09 -07:00
Marshall Clow
3aef0ab9ac Merge pull request #17 from kundor/develop
Remove some includes, fix some comments and docs. Thanks! Please remind me in a week or so to merge to master; after the tests have cycled.
2016-04-29 16:07:27 -07:00
Kolya Matteo
c11878cd8a typo 2016-04-29 16:20:43 -04:00
Kolya Matteo
e066bfae81 Fix documentation to reflect commit 4dac507 2016-04-29 16:12:49 -04:00
Kolya Matteo
f06dc424dd In cxx14, remove unnecessary #include <algorithm> and correct some comments 2016-04-29 16:04:17 -04:00
Kolya Matteo
1da90fcc4a Remove unnecessary #include <algorithm> and correct some comments 2016-04-29 15:37:09 -04:00
Marshall Clow
795c6c69e5 Removed doc comment for replace_all that said it returned something; Fixes https://svn.boost.org/trac/boost/ticket/12163 2016-04-28 08:47:47 -07:00
Marshall Clow
94bed863f0 Merge pull request #16 from aldonin/fix-minmax-example
Fix missing include <iterator>
2016-04-27 10:56:56 -07:00
aldonin
352768cf66 Fix missing include <iterator> 2016-04-27 17:56:17 +03:00
Marshall Clow
dc2149fbc5 Merge pull request #15 from nigels-com/develop
Implement algorithm::hex_lower #7064 (rebased on develop)
2016-03-07 21:54:42 -08:00
Nigel Stewart
3cedd051fa Test coverage for algorithm::hex_lower, adapting existing coverage for algorithm::hex 2016-03-08 09:47:52 +10:00
Nigel Stewart
b7d46e6531 Another overload of algorithm::hex_lower as lower-case alternative to algorithm::hex 2016-03-08 09:47:41 +10:00
Nigel Stewart
d558476f41 Implement algorithm::hex_lower as lower-case alternative to algorithm::hex 2016-03-08 09:47:35 +10:00
Marshall Clow
e5ea93bab1 Revert "Merge pull request #14 from nigels-com/merge-hex_lower"
This reverts commit 5412438df5, reversing
changes made to a09963bf93.
2016-03-07 15:43:55 -08:00
Marshall Clow
5412438df5 Merge pull request #14 from nigels-com/merge-hex_lower
Implement algorithm::hex_lower (Trac ticket #7064)
2016-03-07 14:57:34 -08:00
Marshall Clow
205f5ff4bb Update searchers to return a pair of iterators 2016-02-15 22:23:58 -08:00
Marshall Clow
782d7665dc Comment out unused parameter to silence a warning. Thanks to @meetingcpp for the report 2016-02-07 13:20:22 -05:00
Nigel Stewart
baa6eca18c Test coverage for algorithm::hex_lower, adapting existing coverage for algorithm::hex 2016-01-31 20:18:22 +10:00
Nigel Stewart
073eb62f64 Another overload of algorithm::hex_lower as lower-case alternative to algorithm::hex 2016-01-31 20:17:23 +10:00
Nigel Stewart
cc1392cae6 Implement algorithm::hex_lower as lower-case alternative to algorithm::hex 2016-01-31 19:11:11 +10:00
Antony Polukhin
8d095e9d30 Added constexpr modifiers for C++14 mode and some tests 2016-01-25 13:11:01 +03:00
Marshall Clow
61a4bd45fb Merge pull request #12 from trel/patch-1
comment typo fix
2015-12-14 10:56:18 -08:00
Terrell Russell
f646230db8 comment typo fix 2015-12-14 13:53:12 -05:00
Marshall Clow
1a79438687 New algorithm 'partition_subrange'. Name not 100% final, bue we've got tests. No docs yet. 2015-10-01 11:59:31 -07:00
Marshall Clow
1085f31e7e Add include to algorithm.hpp; this was causing a failure on MSVC 8.0 2015-09-29 07:20:16 -07:00
Marshall Clow
7a2ae62f22 Added new algorithm 'sort_subrange' from Sean Parent's CppCon keynote. Docs to come 2015-09-28 10:28:05 -07:00
Marshall Clow
4fbc56bae9 Merge pull request #11 from thtrummer/develop
Add missing include for std::multiplies and std::plus. Thanks to @thtrummer for the patch!
2015-05-17 11:55:43 -07:00
Thomas Trummer
3acaddd044 Add missing include for std::multiplies and std::plus 2015-05-17 19:59:08 +02:00
Marshall Clow
7f7ebc36ed Fixed the docs for clamp. Refs #10081 2015-04-10 08:10:16 -07:00
Marshall Clow
a09963bf93 Merge from develop; new feature 'power'; doc fixes; remove usage of C++11 versions of the algorithms 2015-03-18 21:31:53 -07:00
Marshall Clow
ba1894bfde Manually apply pull request #10 (since it was against master) 2015-03-18 08:39:42 -07:00