Commit graph

880 commits

Author SHA1 Message Date
Mitsuru Kariya
2d70e53b7f fix regression 2015-04-21 23:57:14 +09:00
bolero-MURAKAMI
2893664abf change while_loop signature 2015-04-15 17:48:31 +09:00
bolero-MURAKAMI
8d19fdc676 add while_loop, until_loop utilities 2015-04-13 11:40:49 +09:00
bolero-MURAKAMI
f78e5d49a0 fix type_traits implementations 2015-04-13 11:26:17 +09:00
bolero-MURAKAMI
78e954aa58 reimplementation types::fold 2015-04-11 12:19:12 +09:00
bolero-MURAKAMI
84b6d5d994 add typed sprout::get 2015-04-10 19:54:05 +09:00
bolero-MURAKAMI
530bc92d0c reimplementation template recursion depth order: types::find_index, find_index__if 2015-04-10 17:48:51 +09:00
bolero-MURAKAMI
9bcc98cb29 add random::poisson_distribution 2015-04-10 15:40:12 +09:00
Mitsuru Kariya
edc41403f6 fix rotate_copy 2015-04-08 00:24:12 +09:00
bolero-MURAKAMI
befe29adf0 fix CXX14_CONSTEXPR config 2015-04-06 00:21:34 +09:00
bolero-MURAKAMI
bf3cc47c15 add mersenne_twister generator C++14 version 2015-04-05 22:43:50 +09:00
bolero-MURAKAMI
e85b8da5e1 fix include guard 2015-04-05 03:12:13 +09:00
bolero-MURAKAMI
b578294eb8 arranged type_traits headers 2015-04-05 01:32:49 +09:00
bolero-MURAKAMI
0bfeeb755a split headers: type_traits/std_type_traits.hpp 2015-04-04 23:12:53 +09:00
bolero-MURAKAMI
3c2733ad0b add C++14 version is_nothrow_destructible 2015-04-03 03:41:00 +09:00
bolero-MURAKAMI
d79df43c55 add C++14 version result_of / fix is_destructible 2015-04-02 19:48:01 +09:00
bolero-MURAKAMI
1507d435f9 add C++14 version is_destructible 2015-04-02 15:33:00 +09:00
Bolero MURAKAMI
3bf2a4fc52 Merge pull request #74 from kariya-mitsuru/reduce-includes-complexity
reduce includes' complexity on some inputs
2015-03-31 23:05:25 +09:00
bolero-MURAKAMI
ead65bf7fd add C++14 version is_signed, is_unsigned 2015-03-31 20:05:32 +09:00
Mitsuru Kariya
9b5a965efd reduce includes' complexity on some inputs
cf. http://melpon.org/wandbox/permlink/mVNO3IDW8aawsRtD
2015-03-29 18:12:52 +09:00
Bolero MURAKAMI
b51e338b68 Merge pull request #73 from kariya-mitsuru/fix-find_symmetric_difference
fix find_symmetric_difference
2015-03-24 22:15:39 +09:00
Bolero MURAKAMI
00d1580858 Merge pull request #72 from kariya-mitsuru/fix-workaround
fix missing inclusion of workaround header file
2015-03-24 22:15:15 +09:00
bolero-MURAKAMI
a5e7d61ad3 fix nth(), index_of() 2015-03-23 12:04:57 +09:00
bolero-MURAKAMI
251c1d174e remove unused typedef 2015-03-23 00:29:21 +09:00
bolero-MURAKAMI
c3636c10d2 add non-member function nth(), index_of() 2015-03-23 00:26:20 +09:00
Mitsuru Kariya
924a33bc50 fix find_symmetric_difference
If distance(first1, lat1) > distance(first2, last2), the find_symmetric_difference
caused an infinite loop.

cf. http://melpon.org/wandbox/permlink/Ca87oxrYGg6gAugj
2015-03-22 15:00:29 +09:00
bolero-MURAKAMI
6a9cda9d4c add nth(), index_of() container member functions 2015-03-19 23:43:13 +09:00
Mitsuru Kariya
b68f5fb023 fix missing inclusion of workaround header file 2015-03-17 15:40:19 +09:00
bolero-MURAKAMI
ee008e8a77 fix SPROUT_CXX14_CONSTEXPR specifier 2015-03-11 20:40:19 +09:00
Mitsuru Kariya
f8dbbbec87 algorithm/partition_point: add missing right brace 2015-03-11 14:31:47 +09:00
Bolero MURAKAMI
157e8268c6 Merge pull request #69 from kariya-mitsuru/fix-minmax_element
minmax_element: reduce complexity
2015-03-11 10:49:43 +09:00
Bolero MURAKAMI
0711c7841c Merge pull request #68 from kariya-mitsuru/experimental
add C++14 version partition_point
2015-03-11 10:20:32 +09:00
bolero-MURAKAMI
5b190c8b6e fix addressof implementation 2015-03-04 23:01:10 +09:00
Mitsuru Kariya
09f8215195 minmax_element: reduce complexity 2015-02-15 17:57:46 +09:00
Mitsuru Kariya
aba6d6b678 add C++14 version partition_point 2015-02-11 23:29:29 +09:00
bolero-MURAKAMI
586c9972dc fix type. 2015-02-10 13:55:17 +09:00
bolero-MURAKAMI
d29b783b68 fix workaround bug 2015-01-29 00:55:00 +09:00
bolero-MURAKAMI
4ecca97b78 add tested compiler 2015-01-12 02:03:30 +09:00
bolero-MURAKAMI
6a5fed17be fix circulated include 2015-01-12 01:31:46 +09:00
bolero-MURAKAMI
6f1fbedd88 fix tuple_construct_traits implementation 2015-01-12 00:38:36 +09:00
bolero-MURAKAMI
1c8dcf56cd fix pedantic-error 2015-01-12 00:04:04 +09:00
bolero-MURAKAMI
9bf7c26b25 fix type 2015-01-11 23:46:33 +09:00
bolero-MURAKAMI
1c758320b6 fix curve implementation 2015-01-11 23:29:58 +09:00
bolero-MURAKAMI
b55e74de78 add curve/bezier, curve/catmull_rom_sprine 2015-01-10 19:30:09 +09:00
bolero-MURAKAMI
3029507c05 change copyright 2015-01-10 19:13:57 +09:00
bolero-MURAKAMI
03b4eda323 add examble: perseptron/g3.cpp brainfuck/x86_compile.cpp 2014-12-27 13:56:41 +09:00
bolero-MURAKAMI
5ccbc4e903 add tuples::apply 2014-12-14 12:59:51 +09:00
bolero-MURAKAMI
a1f6d6ffc3 add bool_constant [N4334] 2014-12-10 19:54:12 +09:00
bolero-MURAKAMI
fbb95d9068 add pointer_cast 2014-11-28 16:19:07 +09:00
bolero-MURAKAMI
897d1e25b6 fix char literal implementation 2014-10-27 10:16:49 +09:00
bolero-MURAKAMI
773855410b add support gcc 4.9.1 2014-10-24 13:48:36 +09:00
bolero-MURAKAMI
06eaf3f0ec fix string literal table implementations 2014-10-23 17:23:38 +09:00
bolero-MURAKAMI
ff3a85cf55 add packer [n4144] 2014-10-22 10:04:41 +09:00
bolero-MURAKAMI
bba5813733 fix. 2014-09-22 13:42:42 +09:00
bolero-MURAKAMI
5304c57048 fix default_construct 2014-09-22 13:30:09 +09:00
bolero-MURAKAMI
2979248623 add default_construct 2014-09-22 10:40:52 +09:00
bolero-MURAKAMI
3b0ab6f5fd reimplementation tuple class 2014-09-20 12:55:29 +09:00
bolero-MURAKAMI
0c15b01b0d fix make_tuple implementation 2014-08-23 22:07:03 +09:00
bolero-MURAKAMI
343d1ff74b rdisable warning -Wambiguous-ellipsis 2014-08-21 23:36:44 +09:00
bolero-MURAKAMI
ec03e6f9c0 fix type operation implementation 2014-08-21 23:33:13 +09:00
bolero-MURAKAMI
8418b81099 add comparison and arithmetic type functionals 2014-08-18 20:21:32 +09:00
bolero-MURAKAMI
062058e614 add types::apply, types::quote 2014-08-17 22:07:12 +09:00
bolero-MURAKAMI
cb23ccdd55 fix index_tuple implementation 2014-08-16 17:35:36 +09:00
bolero-MURAKAMI
979af136a1 fix macros for noexcept 2014-08-14 22:55:49 +09:00
bolero-MURAKAMI
23f24450b0 add SPROUT_FORWARD variadic version 2014-08-13 19:31:52 +09:00
bolero-MURAKAMI
ab875e84de add sprout::addressof 2014-08-12 21:33:22 +09:00
bolero-MURAKAMI
22b1ac3f62 fix types::joint_types, types::rebind_types implementations 2014-08-07 19:11:41 +09:00
bolero-MURAKAMI
39bb8e8ada reimplementation types::tuple_element, types::tuple_size 2014-08-06 00:00:43 +09:00
bolero-MURAKAMI
609f0b6f8a add types::rebind, types::assign 2014-08-05 19:32:40 +09:00
bolero-MURAKAMI
58b0390679 add copyright fimbul 2014-08-05 18:14:44 +09:00
bolero-MURAKAMI
976288ac50 add types::tuple_cat 2014-08-05 18:05:12 +09:00
bolero-MURAKAMI
b25f91f954 erace unnecessary specialization 2014-08-05 17:17:42 +09:00
bolero-MURAKAMI
7562e23307 fix joint_types implementation 2014-08-05 16:37:28 +09:00
bolero-MURAKAMI
8f5f023ed9 add types::joint_types 2014-08-05 10:57:37 +09:00
bolero-MURAKAMI
c2ea313c6c fix complex norm 2014-08-01 17:21:44 +09:00
bolero-MURAKAMI
d0d2b677bc fix config for C++14 2014-08-01 15:24:00 +09:00
bolero-MURAKAMI
3d89eae1e9 fix for clang3.4.2 2014-07-30 19:23:33 +09:00
bolero-MURAKAMI
3df16007a5 add math comparison functions 2014-07-30 14:05:55 +09:00
bolero-MURAKAMI
ae77da19e1 add shrink_to_fit, unmove 2014-07-22 09:33:13 +09:00
bolero-MURAKAMI
22c3f6e132 re-implementation complex transcendental functions 2014-07-19 20:03:13 +09:00
Mitsuru Kariya
611fba8774 fix numeric_limits<long double>
If SPROUT_NO_CXX11_NUMERIC_LIMITS and __LDBL_DENORM_MIN__ is defined,
the definition of numeric_limits uses __builtin_huge_val, __builtin_nan
and __builtin_nans but I think that it should use __builtin_huge_vall,
__builtin_nanl and __builtin_nansl, respectively.
2014-07-16 21:01:13 +09:00
Mitsuru Kariya
191867afe0 fix math::is_odd for a negative argument
I think that sprout::math::is_odd(-1) should be true.

It also fixes math::pow for a case that x is a negative and y is a negative odd integer.

cf. http://melpon.org/wandbox/permlink/XVKea2I6CdVJCbZX
2014-07-16 01:13:53 +09:00
bolero-MURAKAMI
5c10e4d85c fix math::pow case x is negative and y is integer 2014-07-15 22:25:04 +09:00
Mitsuru Kariya
32f72555e1 sprout::proj should return an argument as it is.
sprout::proj should return the argument as it is unless the argument is infinite.
2014-07-13 02:49:50 +09:00
bolero-MURAKAMI
37a8e6c6e7 add std::complex container adapt 2014-07-13 02:12:13 +09:00
bolero-MURAKAMI
9b4ffacda6 fix std::array adapt 2014-07-13 02:07:17 +09:00
bolero-MURAKAMI
28e9a4e5d9 add extension index_iterator 2014-07-13 01:41:33 +09:00
bolero-MURAKAMI
46b2b96013 adapt std::complex tuple and hash support 2014-07-13 00:47:24 +09:00
bolero-MURAKAMI
f830221c56 add tuple_traits 2014-07-13 00:28:34 +09:00
bolero-MURAKAMI
be5fc7df52 fix tuples::get 2014-07-12 23:42:42 +09:00
bolero-MURAKAMI
66cea44736 add sprout::data() non-member function 2014-07-12 21:37:49 +09:00
bolero-MURAKAMI
c995ffd177 fix container_range_traits overloads 2014-07-12 19:04:34 +09:00
bolero-MURAKAMI
909ccfe73a add front, back, at : container access non-member functions 2014-07-12 18:04:45 +09:00
bolero-MURAKAMI
fa426a413a remove unused parameter 2014-07-12 13:26:04 +09:00
bolero-MURAKAMI
3d01aac239 fix sprout::size, sprout::empty implementations 2014-07-12 12:59:16 +09:00
bolero-MURAKAMI
2b28ddef6f remove unused typedef 2014-07-10 18:33:37 +09:00
bolero-MURAKAMI
54920b3389 add complex tuple and container support 2014-07-10 17:08:33 +09:00
bolero-MURAKAMI
f4d715c6db add SPROUT_AUTO_FORWARD 2014-07-07 18:20:18 +09:00
bolero-MURAKAMI
71144902ff add algorithm for_each, gather 2014-07-07 13:08:26 +09:00
bolero-MURAKAMI
bbc67ea04a fix. 2014-07-04 00:34:37 +09:00