Commit graph

773 commits

Author SHA1 Message Date
Chris Kay
cf42bdca5a Refactored and added comments 2014-03-24 11:53:46 +00:00
Chris Kay
634bd89d9e Implemented C++1Y proposal N3620 2014-03-24 10:20:33 +00:00
bolero-MURAKAMI
3fb83e0fbe add move_iterator 2014-03-20 23:52:08 +09:00
bolero-MURAKAMI
01efe1e793 fix copysign for clang 2014-03-19 19:50:00 +09:00
bolero-MURAKAMI
5527449e26 fix type/seq/algorithm/ 2014-03-19 00:53:52 +09:00
bolero-MURAKAMI
6e09fc2ee5 add math::phi 2014-03-17 17:06:41 +09:00
fimbul
2ebfcded24 fix constants and add constant_variables 2014-03-17 15:26:58 +09:00
bolero-MURAKAMI
2342ac6433 add exempt_ptr 2014-03-15 23:02:13 +09:00
bolero-MURAKAMI
61dd3351fc add type_traits for variable templates version 2014-03-15 18:11:11 +09:00
bolero-MURAKAMI
7e709630c6 rename type_traits is_int -> is_sint
add new type_traits is_*_unqualified
2014-03-15 12:06:51 +09:00
bolero-MURAKAMI
86db277625 workaround for ICC: decltype in template parameter 2014-03-07 19:49:30 +09:00
bolero-MURAKAMI
2d284a61c1 fix enabler_t 2014-03-03 19:25:13 +09:00
bolero-MURAKAMI
9522d20a4a fix workaround detail (for clang3.4~) 2014-03-03 12:26:07 +09:00
bolero-MURAKAMI
3d170e65a4 workaround for clang3.4 or later: empty base class construction 2014-03-03 12:01:27 +09:00
bolero-MURAKAMI
87ed3d5548 add tuple assignment for pair 2014-03-01 10:35:24 +09:00
minamiyama1994
0009f778e6 cannot compile this code ( http://melpon.org/wandbox/permlink/dMPGXatLnTh3o3Fk ) by my environment 2014-02-23 19:42:08 +09:00
bolero-MURAKAMI
274122efb2 add SPROUT_FORWARD - workaround for ICC 2014-02-22 16:32:51 +09:00
bolero-MURAKAMI
7831105add fix index_tuple for ICC: template argument deduntion with aliases 2014-02-22 00:24:38 +09:00
bolero-MURAKAMI
eae1729128 fix for ICC: aggregate initialization 2014-02-21 23:43:24 +09:00
bolero-MURAKAMI
1cfea12064 fix for ICC: decltype in base class 2014-02-21 23:16:23 +09:00
bolero-MURAKAMI
b14c8e7d73 fix confg and enabler_if: for ICC 2014-02-21 22:24:05 +09:00
bolero-MURAKAMI
2867cd79ef add SPROUT_DEPRECATED 2014-02-21 00:25:55 +09:00
bolero-MURAKAMI
2905965f24 fix iota 2014-02-20 08:04:36 +09:00
bolero-MURAKAMI
51716cb4af fix SPROUT_P_UNIQUE_STRING 2014-01-28 09:02:59 +09:00
bolero-MURAKAMI
90b1ff17ed fix SPROUT_PP_UNIQUE_STRING 2014-01-27 19:16:32 +09:00
bolero-MURAKAMI
b4b870209b add SPROUT_PP_SOME_NUMBER 2014-01-27 19:09:00 +09:00
bolero-MURAKAMI
12e12373d0 fix version check macro 2014-01-20 13:09:54 +09:00
bolero-MURAKAMI
b881750699 fix version check macro 2014-01-20 11:23:03 +09:00
bolero-MURAKAMI
7645105ee8 support [U]INTn_C for clang3.0-3.1 2014-01-18 14:15:51 +09:00
bolero-MURAKAMI
8d732a5197 fix: remove unnecessary typename 2014-01-18 13:35:18 +09:00
bolero-MURAKAMI
f0bea01ede rename random/result.hpp -> random/results.hpp 2014-01-17 22:09:08 +09:00
bolero-MURAKAMI
769e18178a add random::result, random::next 2014-01-16 18:59:25 +09:00
bolero-MURAKAMI
3879666b02 fix random generation implementation 2014-01-16 01:04:31 +09:00
bolero-MURAKAMI
406a1ff789 fix random_result<E, D>::next_generator(): returns variate_generator<E, D> 2014-01-15 00:06:38 +09:00
bolero-MURAKAMI
6e5004b6f4 fix testspr 2014-01-14 12:39:07 +09:00
bolero-MURAKAMI
7640eca894 fix defaulted default constructor 2014-01-14 00:18:06 +09:00
bolero-MURAKAMI
0f5ed91e03 fix testspr: add --compiler-option 2014-01-11 20:27:55 +09:00
bolero-MURAKAMI
e7b8d74c0f fix shufle_order: support clang 3.3 or later (default template depth 256) 2014-01-11 16:05:18 +09:00
bolero-MURAKAMI
14f8d9d042 fix copyright year 2014-01-08 16:48:12 +09:00
bolero-MURAKAMI
4bcc5e71fc add workaround for clang3.4 or later: base class construct 2014-01-08 00:47:39 +09:00
bolero-MURAKAMI
c5d64a7b9c fix cxx14 constexpr 2014-01-07 23:47:45 +09:00
bolero-MURAKAMI
49f4e1c72e fix cxx14 sort 2014-01-07 23:45:09 +09:00
bolero-MURAKAMI
8b40dfd184 add type_traits/std_value_variables.hpp 2014-01-06 22:45:41 +09:00
bolero-MURAKAMI
a43b9f3faa support const_iterator_cast: reverse_iterator 2014-01-05 22:57:41 +09:00
bolero-MURAKAMI
cd72873c3a add const_iterator_cast 2014-01-05 22:20:27 +09:00
bolero-MURAKAMI
be0bc155d8 fix float_exponent10 order O(logN) 2013-12-31 21:26:22 +09:00
bolero-MURAKAMI
ef4a7ac1d8 add c++14 sort algorithm 2013-12-31 17:49:27 +09:00
bolero-MURAKAMI
aeefee42ee fix math::cos 2013-12-18 17:58:27 +09:00
Bolero MURAKAMI
8b42648803 Merge pull request #57 from Fadis/cmake
Add support for CMake
2013-12-17 23:31:06 -08:00
bolero-MURAKAMI
dad087cd69 fix README 2013-12-12 23:38:33 +09:00
bolero-MURAKAMI
63ac0d0df5 [sprout.darkroom] implement refraction process 2013-12-12 23:29:50 +09:00
bolero-MURAKAMI
8e306168da [sprout.darkroom] implemented refraction 2013-12-06 01:57:31 +09:00
bolero-MURAKAMI
8e3c426684 add is_from_inside property 2013-12-04 23:38:33 +09:00
bolero-MURAKAMI
014d339803 fix darkroom: add alpha and refraction material parameter 2013-12-03 22:17:49 +09:00
bolero-MURAKAMI
4b5dd8ccc5 fix iterator compare 2013-12-03 01:15:28 +09:00
bolero-MURAKAMI
d05d58846d fix 2013-12-03 01:10:01 +09:00
bolero-MURAKAMI
81ded0b907 fix forward_clist iterator 2013-12-03 01:07:56 +09:00
bolero-MURAKAMI
18b388c89f fix swap 2013-12-03 00:57:57 +09:00
bolero-MURAKAMI
4f5c2787d7 fix constructor 2013-12-03 00:40:34 +09:00
bolero-MURAKAMI
e6b504f94b fix forward_clist 2013-12-03 00:36:04 +09:00
bolero-MURAKAMI
eb2918d065 fix pack_get order 2013-11-30 13:16:30 +09:00
bolero-MURAKAMI
37e5f52e4c refix tuple_element roder 2013-11-30 10:22:24 +09:00
bolero-MURAKAMI
c9610b5ae5 fix tuple_element order 2013-11-29 22:21:07 +09:00
Fadis
e3cb3bae99 Add support for CMake 2013-11-28 08:51:11 +09:00
bolero-MURAKAMI
403e83eaf0 all type_traits support C++14 requirements 2013-11-22 21:11:08 +09:00
bolero-MURAKAMI
bf0c7021cf modify namespace result_of -> results
support C++14 type_traits
2013-11-20 22:04:11 +09:00
bolero-MURAKAMI
d386893a74 add bitset operator=() 2013-11-12 20:44:27 +09:00
bolero-MURAKAMI
9c37deb7d7 fix for clang3.4 2013-11-11 10:32:10 +09:00
bolero-MURAKAMI
2993b4d53e fix for clang3.4 2013-11-11 10:13:01 +09:00
bolero-MURAKAMI
af24ef48a9 fix uninitialized variable 2013-11-11 10:02:10 +09:00
bolero-MURAKAMI
09bff1e262 fix min/max use 2013-11-10 22:13:25 +09:00
bolero-MURAKAMI
2b08b8e1d5 fix taus88 2013-11-10 21:23:09 +09:00
bolero-MURAKAMI
fc1d4421fd fix xor_combine::max 2013-11-10 21:01:27 +09:00
bolero-MURAKAMI
a32b1c7c00 fix Sseq SFINAE 2013-11-10 20:50:16 +09:00
bolero-MURAKAMI
e03f53f0d2 fix clang3.4 probrems 2013-11-10 19:31:35 +09:00
bolero-MURAKAMI
f5e00839c1 fix: remove warnings 2013-11-10 18:46:24 +09:00
bolero-MURAKAMI
1b09c5a672 fix operator= 2013-11-10 18:36:04 +09:00
bolero-MURAKAMI
4677628cd6 [sprout.random] add generate_canonical 2013-11-09 23:48:30 +09:00
bolero-MURAKAMI
81603007f6 [破壊的変更] uniform_int_distribution::max() 9 -> numeric_limits::max()
add reset function
2013-11-09 18:13:26 +09:00
bolero-MURAKAMI
b60a7aca9c [sprout.random] add Sseq version: constructor, seed 2013-11-09 17:39:57 +09:00
bolero-MURAKAMI
ab0731c4fc [sprout.random] add seed_array 2013-11-08 23:20:43 +09:00
bolero-MURAKAMI
5879c81996 fix: std::numeric_limits -> sprout::numeric_limits 2013-11-06 00:11:51 +09:00
bolero-MURAKAMI
a954fd7d51 fix: partition_copy parameter 2013-11-06 00:04:06 +09:00
bolero-MURAKAMI
95bb3a877d fix warning: remove unused typedef 2013-11-05 23:53:24 +09:00
bolero-MURAKAMI
3c4a465d35 support C++14 constexpr: random distributions 2013-11-05 23:46:23 +09:00
bolero-MURAKAMI
230630b45b add C++14 constexpr version: random generator 2013-11-05 17:39:11 +09:00
bolero-MURAKAMI
2c9f0647f4 fix: random generator/distribution result type (add const) 2013-11-04 18:50:48 +09:00
bolero-MURAKAMI
1132d08f23 add macro SPROUT_NON_CONSTEXPR 2013-11-02 18:28:18 +09:00
bolero-MURAKAMI
6b1ef202d8 fix algorithms SFINAE: iterator or container 2013-10-31 20:35:30 +09:00
bolero-MURAKAMI
040278bd11 add new directory sprout/algorithm/cxx14/ 2013-10-31 18:57:41 +09:00
bolero-MURAKAMI
39d60a514f fix warning: unused parameter 2013-10-31 13:25:42 +09:00
bolero-MURAKAMI
2232778731 remove slipped file 2013-10-31 12:37:38 +09:00
bolero-MURAKAMI
ff36d79afc support for C++14 constexpr: some classes 2013-10-30 18:15:57 +09:00
bolero-MURAKAMI
478c476611 fix trivial constructor declaration 2013-10-29 19:15:52 +09:00
bolero-MURAKAMI
1bce2b4a5b [sprout.checksum] support for C++14 constexpr 2013-10-29 17:59:14 +09:00
bolero-MURAKAMI
3f4a24289e [sprout.tuple] support C++14 constexpr 2013-10-29 16:33:25 +09:00
bolero-MURAKAMI
63ae5babd0 [sprout.bitset] support C++14 constexpr 2013-10-28 09:01:19 +09:00
bolero-MURAKAMI
b95e583394 add config: SPROUT_INITIALIZER_LIST_CONSTEXPR 2013-10-27 16:25:13 +09:00
Bolero MURAKAMI
3267d11b4a Merge pull request #55 from kariya-mitsuru/darkroom.sphere
[darkroom.objects.sphere] Delete hit_side (unused)
2013-10-26 19:51:13 -07:00
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
Mitsuru Kariya
2e984eacb7 intermediate
fix tristate_lexicographical_compare(w/delimiter version)

reduce complexity

remove unnecessary code etc.

remove testcode
2013-09-02 20:57:45 +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