1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Commit graph

673 commits

Author SHA1 Message Date
Bolero MURAKAMI
39bc2bfc5d Merge pull request #56 from kariya-mitsuru/algorithm.search_n
[algorithm.search_n] Fix search_n's complexity violation.
2013-10-26 19:50:46 -07:00
Bolero MURAKAMI
5d6fc5c726 Merge pull request #39 from kariya-mitsuru/is_permutation
[algorithm.is_permutation] Reduce complexity
2013-10-26 19:50:21 -07:00
bolero-MURAKAMI
9805082c57 fix warning: unused parameter 2013-10-26 23:37:47 +09:00
bolero-MURAKAMI
be9a5f9b78 [sprout.functional] add all transparent functors 2013-10-26 23:17:09 +09:00
bolero-MURAKAMI
2a57ee6af5 [sprout.functional] add is_transparent_function metafunction 2013-10-26 19:09:10 +09:00
bolero-MURAKAMI
f1c0774f7a support for C++14 constexpr: basic_string 2013-10-26 14:12:09 +09:00
bolero-MURAKAMI
c40b33067e [sprout.array] support for C++14 constexpr 2013-10-26 00:32:36 +09:00
bolero-MURAKAMI
c58c9cc0fc fix: math functions (support for inferior C++14 standard)
add C++14 constexpr modifying algorithms
2013-10-25 12:29:16 +09:00
bolero-MURAKAMI
58cff54e0d rename complex user-defined literals: _i_f/_i_F -> _if/_iF 2013-10-19 09:35:09 +09:00
bolero-MURAKAMI
cc4cad6895 add c++14 constexpr version: generate, generate_n 2013-10-17 19:22:40 +09:00
bolero-MURAKAMI
e0629a21ce support Generator Requirement: generator_iterator, random_redult 2013-10-17 18:46:31 +09:00
bolero-MURAKAMI
9f11b2481d test passed: GCC4.8.2 2013-10-17 16:44:31 +09:00
bolero-MURAKAMI
7b11799ace add c++14 constexpr version: fill, fill_n 2013-10-16 13:04:49 +09:00
bolero-MURAKAMI
3f85600f53 add c++14 constexpr version: transform, replace 2013-10-15 20:22:20 +09:00
bolero-MURAKAMI
a3427d375f add constexpr algorithm C++14 version: move, move_backward, swap_ranges, iter_swap 2013-10-15 14:01:34 +09:00
bolero-MURAKAMI
d5c84b07c9 fix c+ constexpr config+ 2013-10-10 10:01:00 +09:00
bolero-MURAKAMI
9e678c517d [sprout.iterator] fix predefined iterators: support c++14 constexpr 2013-10-09 23:44:25 +09:00
bolero-MURAKAMI
40b95948a9 add example hanoi 2013-10-09 16:14:41 +09:00
bolero-MURAKAMI
3dfe41361f fix various iterator: for C++14 constexpr support
fix tools.test: add option --std=c++XX
2013-10-09 01:03:36 +09:00
bolero-MURAKAMI
54b6a2be18 [sprout.iterator] support for C++14 constexpr iterator operation 2013-10-08 18:45:10 +09:00
bolero-MURAKAMI
b192c5c214 fix random test: missing header 2013-10-05 19:27:07 +09:00
bolero-MURAKAMI
a90bbd5f38 add advance C++14 constexpr version 2013-10-05 13:35:26 +09:00
Mitsuru Kariya
1a5d40d821 [algorithm.search_n] Fix search_n's complexity violation.
According to document, at most last - first applications of the corresponding predicate,
but (last - first) * count applications.
2013-10-03 01:37:53 +09:00
Mitsuru Kariya
022506fdaa [darkroom.objects.sphere] Delete hit_side (unused) 2013-10-03 00:17:49 +09:00
bolero-MURAKAMI
5f1c3d4dee fix string: comparison of signed and unsigned integer 2013-10-02 17:09:33 +09:00
Mitsuru Kariya
a9b349ad01 [darkroom.objects.sphere] Reduce function call.(Remove function zweitens_2) 2013-09-27 12:39:12 +09:00
Bolero MURAKAMI
4f477dd0dc Merge pull request #53 from kariya-mitsuru/darkroom.sphere
[darkroom.objects.sphere] Reduce unnecessary parameter.
2013-09-26 17:27:28 -07:00
bolero-MURAKAMI
3fef178b7c [tools.testspr] move file testspr/test.sh -> tools/testspr/test.sh 2013-09-26 22:43:57 +09:00
Mitsuru Kariya
ceb5d218df [darkroom.objects.sphere] Reduce unnecessary parameter. 2013-09-26 00:52:55 +09:00
bolero-MURAKAMI
dfcb6bcf31 fix darkroom: fix template operator() member-function call -> calcurate() free-function 2013-09-24 15:08:36 +09:00
bolero-MURAKAMI
3cb882ce91 fix darkroom: add make_object_list 2013-09-24 10:05:47 +09:00
bolero-MURAKAMI
3713351e3e add example darkroom/two_spheres.hpp 2013-09-20 02:40:19 +09:00
nekko1119
a115a6c16a fix visualc.hpp
add `#endif`
2013-09-17 20:57:07 +09:00
bolero-MURAKAMI
d7bf483c4a fix basic_string constructor 2013-09-09 19:48:28 +09:00
bolero-MURAKAMI
3cba63db54 fix string::assign 2013-09-08 19:07:01 +09:00
bolero-MURAKAMI
7fae5004a7 fix basic_string 2013-09-06 15:15:32 +09:00
Mitsuru Kariya
ddedba4772 Reduce complexity
change line separation

Fix 4 Iterator parameter version(missing mismatch parameter)

Fix 4 ForwardIterator version.
2013-09-05 23:29:24 +09:00
bolero-MURAKAMI
330e708eff fix string constructor range version 2013-09-05 22:52:42 +09:00
bolero-MURAKAMI
ffb3ccece8 add functional/equiv
fix is_bind_expression
add polymorphic version not1, not2
2013-09-04 12:07:54 +09:00
Bolero MURAKAMI
d9e9c23f67 Merge pull request #36 from kariya-mitsuru/count_if
[algorithm.count_if] Reduce inner function parameter.
2013-09-03 04:47:23 -07:00
Bolero MURAKAMI
d64c676ed0 Merge pull request #35 from kariya-mitsuru/count
[algorithm.count] Reduce inner function parameter.
2013-09-03 04:37:40 -07:00
Mitsuru Kariya
588d6c3f1b [algorithm.count_if] Reduce inner function parameter. 2013-09-03 09:32:54 +09:00
Mitsuru Kariya
ad73036997 [algorithm.count] Reduce inner function parameter. 2013-09-03 09:28:24 +09:00
Mitsuru Kariya
37bcbe7917 [algorithm.binary_search] Use comp parameter for lower_bound. 2013-09-02 22:47:15 +09:00
bolero-MURAKAMI
5686785ea9 fix: less.hpp header, erase lower/upper_bound detail header 2013-09-02 14:46:13 +09:00
Mitsuru Kariya
5b13f3b8a2 [algorithm.equal_range, etc] Change recursive function parameters from "Iter, Iter" to "Iter, length." 2013-09-01 00:13:23 +09:00
Bolero-MURAKAMI
bbeb2f1b4b fix less namespace and header 2013-08-31 08:29:24 +09:00
Bolero MURAKAMI
69a735f874 Merge pull request #29 from kariya-mitsuru/upper_bound
[algorithm.upper_bound] Change a bit.
2013-08-30 16:14:43 -07:00
Mitsuru Kariya
9704d9e777 [algorithm.upper_bound] Change a bit. 2013-08-31 01:08:37 +09:00
Mitsuru Kariya
729c42d081 [algorithm.lower_bound] Change a bit. 2013-08-31 00:57:06 +09:00
bolero-MURAKAMI
3acc1ac301 add README.rst 2013-08-29 23:21:49 +09:00
bolero-MURAKAMI
1944a437e3 fix search_one_rev 2013-08-28 21:04:03 +09:00
Mitsuru Kariya
bfc22a86a7 Change find_end:
1.Fix for ForwardIterator when [first2, last2) is empty.
2.Fix RandomAccessIterator version.(search from last1)
3.Add BidirectionalIterator version.(search from last1)
4.Add sprout::detail::search_one_rev helper function for
  BidirectionalIterator version.
2013-08-28 13:24:15 +09:00
Bolero MURAKAMI
f194a7f68c Merge pull request #25 from kariya-mitsuru/find_first_of
[algorithm.find_first_of] fix find_first_of bind position
2013-08-27 02:09:37 -07:00
Mitsuru Kariya
35b145d169 fix find_first_of bind position 2013-08-27 14:43:01 +09:00
Mitsuru Kariya
c1af6b4f14 remove equal2_impl_ra_1 2013-08-27 12:53:09 +09:00
bolero-MURAKAMI
2191429a9b fix equal: empty range check 2013-08-27 11:36:37 +09:00
Mitsuru Kariya
98445c98eb fix equal for empty range 2013-08-27 02:16:11 +09:00
bolero-MURAKAMI
d6592a9ce3 fix minmax_element 2013-08-26 17:38:11 +09:00
Mitsuru Kariya
6833b85e2b fix minmax_element 2013-08-26 12:10:57 +09:00
Mitsuru Kariya
e04b465be1 set default template parameter to void 2013-08-26 11:52:18 +09:00
bolero-MURAKAMI
b500c7c993 add minmax initializer_list version 2013-08-23 23:20:36 +09:00
bolero-MURAKAMI
5ea46e507f add min, max: initialize_list version 2013-08-23 22:38:40 +09:00
bolero-MURAKAMI
2dc912522b fix make_array: explicit conversion to T 2013-08-23 12:08:17 +09:00
bolero-MURAKAMI
ce4a65b2ad fix algorithm: one_of, one_of_equal ( empty range input ) 2013-08-17 18:41:58 +09:00
bolero-MURAKAMI
117ab52460 fix string test 2013-08-17 00:10:42 +09:00
bolero-MURAKAMI
ea78afa85a fix next(): for non-LiteralType InputIterator 2013-08-14 23:24:33 +09:00
bolero-MURAKAMI
1971e351e6 refix copy algorithm 2013-08-14 21:57:26 +09:00
bolero-MURAKAMI
4e4c1b1786 fix non-modifying algorithm: for InputIterator Requirements 2013-08-14 10:37:52 +09:00
rhysd
5160ea064d fixed checking gcc version 2013-08-14 00:49:25 +09:00
bolero-MURAKAMI
6f8213b7cc fix aligned_union_t 2013-08-13 16:28:18 +09:00
bolero-MURAKAMI
6ae41ef6de fix algorithm: copy for InputIterator 2013-08-13 01:55:26 +09:00
bolero-MURAKAMI
72fe72a623 extraordinary fix: find_end implementation 2013-08-12 00:09:40 +09:00
bolero-MURAKAMI
7c8f28115c fix string: add explicit for ctor basic_string(T const*) 2013-08-10 08:55:00 +09:00
bolero-MURAKAMI
071217f1d4 fix rational: for clang 2013-08-09 22:14:43 +09:00
bolero-MURAKAMI
c22735b212 fix warning: for clang 2013-08-09 20:04:27 +09:00
bolero-MURAKAMI
baf8995e81 [Destructive changes] add sprout::string constructor (already not an aggregate) 2013-08-09 19:04:37 +09:00
bolero-MURAKAMI
cb1077d247 add copyright 2013-08-08 18:54:33 +09:00
bolero-MURAKAMI
d663ca160b fix workaround: for nothing __DBL_DENORM_MIN__ 2013-08-08 14:11:20 +09:00
bolero-MURAKAMI
21cefe8a67 fix template-parameter name: Iterator, Range 2013-08-07 22:13:03 +09:00
bolero-MURAKAMI
ddccff51e6 fix include guard 2013-08-07 17:09:07 +09:00
bolero-MURAKAMI
c0589d9925 fix type: SPROUT_UNIQUE_SEED 2013-08-07 16:49:27 +09:00
bolero-MURAKAMI
2236d03165 fic confi/stdlib.hpp 2013-08-07 09:54:38 +09:00
bolero-MURAKAMI
7a1974742a workaround for no c++11 numeric_limits 2013-08-07 00:15:09 +09:00
bolero-MURAKAMI
ce16e24637 workaround for libc++1101: no constexpr char_trais 2013-08-06 13:25:32 +09:00
bolero-MURAKAMI
6bd876c587 fix detail/float.hpp: include pair
add testspr/header_all.hpp
2013-08-06 01:00:57 +09:00
bolero-MURAKAMI
fc5e510c3c fix to_string(FloatType): for large float value 2013-08-06 00:05:45 +09:00
bolero-MURAKAMI
9883dacfe2 fix to_string(FloatType): support inf, NaN; bug(digit count) 2013-08-05 22:18:02 +09:00
bolero-MURAKAMI
99547d3fe7 workaround for clang3.2: cstdint constant macros missing 2013-08-04 11:08:41 +09:00
bolero-MURAKAMI
514c5f0c69 fix include guard: modulus.hpp 2013-08-03 22:00:16 +09:00
bolero-MURAKAMI
f8bfa6eeba add convert_array, to_string_array 2013-08-03 20:03:13 +09:00
bolero-MURAKAMI
d8cb7a7887 [testspr] add print_ln variadic version 2013-08-03 18:14:22 +09:00
bolero-MURAKAMI
3e97ddd286 workaround for Clang: uniform_int_ditribution, uniform_real_distribution 2013-07-25 23:32:42 +09:00
bolero-MURAKAMI
0aeaf19c47 fix fit-algorithm implementation: min compare 2013-07-24 19:22:26 +09:00
bolero-MURAKAMI
57e35349e5 fix warning (for -Wextra) 2013-07-22 22:00:09 +09:00
bolero-MURAKAMI
49243e6c94 workaround for GCC4.8: remove non-trivial move ctor 2013-07-16 18:42:33 +09:00
bolero-MURAKAMI
d1d273a84a fic cbind 2013-07-15 22:50:40 +09:00
bolero-MURAKAMI
0d51ecff37 fix bind for GCC4.7 2013-07-15 16:23:43 +09:00
bolero-MURAKAMI
a7def70996 add types::upper_bound_index meta-function 2013-07-11 03:05:49 +09:00
bolero-MURAKAMI
9d7d243886 fix _ positional-placeholder implementation 2013-07-10 18:06:19 +09:00
bolero-MURAKAMI
95d8db9289 fix variadic-or-positional placeholders type 2013-07-10 12:15:11 +09:00
bolero-MURAKAMI
d435c59657 fix _va, _Ntail placeholder: can be placed any positions 2013-07-09 23:15:53 +09:00
bolero-MURAKAMI
651d8deba8 add _tail placeholders User-defined Literals 2013-07-09 01:37:01 +09:00
bolero-MURAKAMI
8fa8d80ca2 add _va, _Ntail variadic placeholders 2013-07-09 00:58:31 +09:00
bolero-MURAKAMI
e052c3d3a9 add automatically-placeholder '_' 2013-07-07 23:05:18 +09:00
bolero-MURAKAMI
2f86a59273 add _ placeholder User-defined literals 2013-07-07 19:10:25 +09:00
bolero-MURAKAMI
50f2ba6e31 fix compiler config: borland, visualc 2013-07-07 01:09:35 +09:00
bolero-MURAKAMI
9ca88083ac support for GCC4.7: optional in-place constructor 2013-07-01 16:57:56 +09:00
bolero-MURAKAMI
05a1ebfa85 add compiler-config: SPROUT_NO_CXX14_CONSTEXPR 2013-06-29 13:27:11 +09:00
bolero-MURAKAMI
a786a7ccb1 erase old code 2013-06-27 00:38:14 +09:00
bolero-MURAKAMI
e0ccfedaaa support for C++14: memcmp, memchr 2013-06-27 00:36:17 +09:00
bolero-MURAKAMI
4182fb3fea fix: support for clang3.3 2013-06-17 23:44:18 +09:00
bolero-MURAKAMI
c8d3fbe597 rename forward_clist::pop -> unlink
add forward_clist::erase_after()
2013-06-16 23:18:41 +09:00
bolero-MURAKAMI
dbab91a53c add forward_clist: C++14 constexpr based forward list 2013-06-15 22:14:24 +09:00
bolero-MURAKAMI
e578bdd0a6 support constexpr: get(optional&), get(optional&&) 2013-06-04 23:15:05 +09:00
bolero-MURAKAMI
5bf20db49b delete breed/* 2013-06-04 11:33:51 +09:00
bolero-MURAKAMI
7f6081e0cc fix explicit conversion: optional::operator bool, string::operator std::string, string_ref::operator std::string 2013-05-28 12:36:36 +09:00
bolero-MURAKAMI
e5efbfe340 fix optional: add in-place construction, emplace assignment 2013-05-23 20:55:26 +09:00
bolero-MURAKAMI
a77fd5ffef add weed parser: char_("character-sets") 2013-05-22 06:49:10 +09:00
bolero-MURAKAMI
ab096d442c add weed parser: char_(f, l) 2013-05-21 19:56:41 +09:00
bolero-MURAKAMI
e6420f2bbd move support: optional class template 2013-05-18 21:37:54 +09:00
bolero-MURAKAMI
d732a73431 add is_permutation algorithm: robust version (N3607) 2013-05-16 19:03:27 +09:00
bolero-MURAKAMI
d6aaabe45f add equal algorithm: robust version (N3607) 2013-05-16 18:37:37 +09:00
bolero-MURAKAMI
dce6fff6a4 add mismatch algorithm: robust version (N3607) 2013-05-16 15:13:49 +09:00
bolero-MURAKAMI
c71502f6b6 fix: index_tuple metafunctions as index_tuple aliases (if Template-aliases enabled) 2013-05-12 11:05:31 +09:00
bolero-MURAKAMI
57011669a0 rename complex user-defined literals: _if/_iF -> _i_f/_i_F 2013-05-11 23:57:15 +09:00
bolero-MURAKAMI
3ff1ffb4d9 fix index_tuple implementation: template aliases (if compiler supported) 2013-05-10 21:53:53 +09:00
bolero-MURAKAMI
bb36ef6e8b support for N3658 (Compile-time integer sequences): index_tuple
rename: integer_seq -> integer_sequence, make_integer_sequence -> make_integer_sequence
add unsigned-index sequence: index_sequence(alias), make_index_sequence, index_sequence_for
add: integer_pack, index_pack
2013-05-10 19:52:39 +09:00
bolero-MURAKAMI
a3aedcf136 erace old code (has been already commented out) 2013-05-09 16:59:07 +09:00
bolero-MURAKAMI
d7561c95dd fix tuple constrution: SFINAE bug (for GCC4.7.0) 2013-05-09 16:55:40 +09:00
bolero-MURAKAMI
3f434dd7e1 add finite check: is_integer, is_odd, is_even 2013-05-09 01:15:44 +09:00
bolero-MURAKAMI
9ff74b52eb erase inactive header include <stdexcept> 2013-05-08 02:42:23 +09:00
bolero-MURAKAMI
9247693c63 fix math functions 2013-05-08 01:46:40 +09:00
bolero-MURAKAMI
3498e9214f fix fmod 2013-05-07 13:40:18 +09:00
bolero-MURAKAMI
56cb7702ea fix math functions 2013-05-06 23:57:38 +09:00
bolero-MURAKAMI
7794e56192 fix math functions 2013-05-06 00:22:08 +09:00
bolero-MURAKAMI
fccb16687b fix math functions 2013-05-05 00:06:30 +09:00
bolero-MURAKAMI
ffb876c930 fix math functions 2013-04-29 10:56:46 +09:00
bolero-MURAKAMI
2e2b6c96ab fix math functions 2013-04-26 00:25:35 +09:00
bolero-MURAKAMI
dad3acceea fix exponential functions 2013-04-25 15:36:19 +09:00
bolero-MURAKAMI
32c3ba02d4 add math::copysign
fix hyperbolic and exponental functions: for special values
2013-04-24 22:48:36 +09:00
bolero-MURAKAMI
a27c83e939 fix erf, erfc
fix for special values: trigonometric functions
2013-04-23 23:07:20 +09:00
bolero-MURAKAMI
5f40808f75 add math::lgamma 2013-04-23 19:03:03 +09:00
bolero-MURAKAMI
a55c430f09 add math tgamma 2013-04-22 23:55:30 +09:00
bolero-MURAKAMI
f461643582 tuple support: random_result 2013-04-22 14:51:38 +09:00
bolero-MURAKAMI
ba3d7d74b0 fix generator 2013-04-22 13:35:01 +09:00
bolero-MURAKAMI
74e0c8acd6 fix adapt interface: container, tuple, hash, generator 2013-04-22 13:04:27 +09:00
bolero-MURAKAMI
61720b72c3 erase warning: clang 2013-04-21 13:30:30 +09:00
bolero-MURAKAMI
fb4fb791dd fix uuid::md5_name_generator 2013-04-15 19:13:14 +09:00
bolero-MURAKAMI
35e651d144 add user-defined literals _uuid3, _uuid5 2013-04-14 19:42:34 +09:00