Commit graph

936 commits

Author SHA1 Message Date
bolero-MURAKAMI
c2aa932646 fix sub_array for ICC 15 2015-05-11 08:35:40 +09:00
bolero-MURAKAMI
882d6a8a50 fix string for ICC 15 2015-05-10 17:17:45 +09:00
bolero-MURAKAMI
755ebf4311 workaround for ICC 15 2015-05-08 20:11:30 +09:00
Bolero MURAKAMI
1cb62e6250 Merge pull request #75 from kariya-mitsuru/fix-rotate
fix rotate_copy
2015-04-28 09:39:50 +09:00
Bolero MURAKAMI
a6629e1619 Merge pull request #76 from kariya-mitsuru/fix-regression
fix regression
2015-04-28 09:31:39 +09:00
bolero-MURAKAMI
22b65a01d6 fix for gcc 5.1.0 2015-04-28 01:55:35 +09:00
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
bolero-MURAKAMI
ddde1f87e5 fix cstdint.hpp 2014-07-04 00:16:33 +09:00
bolero-MURAKAMI
720500dd75 support variadic macros for clang 2014-07-03 23:55:08 +09:00
bolero-MURAKAMI
fd37cb02d3 add SPROUT_STATIC_ASSERT variadic macro version 2014-07-03 23:41:40 +09:00
bolero-MURAKAMI
253477ed32 fix. 2014-07-03 23:23:48 +09:00
bolero-MURAKAMI
23be867d87 add variadic assert macro 2014-07-03 23:18:11 +09:00
bolero-MURAKAMI
15c3f55ebb fix. 2014-07-02 22:16:29 +09:00
bolero-MURAKAMI
93e22a984d fix net/endian.hpp 2014-06-05 16:44:19 +09:00
bolero-MURAKAMI
7f8a352783 fix isolated files 2014-05-30 01:22:00 +09:00
bolero-MURAKAMI
f45298f81f add iterator_traits: SFINAE-friendly version 2014-05-29 13:30:51 +09:00
bolero-MURAKAMI
c15de6136b fix tuple_element: support SFINAE-friendly 2014-05-29 00:25:37 +09:00
Bolero MURAKAMI
f42e92b448 Merge pull request #63 from fimbul/fix_include_directive
fix include directive in sprout/pit/tuple.hpp
2014-05-06 18:47:10 +09:00
bolero-MURAKAMI
e593f87559 add pass_through utility function 2014-05-06 18:10:06 +09:00
fimbul
88dab77928 fix include directive 2014-05-06 00:58:41 +09:00
bolero-MURAKAMI
3c4a048f25 fix <cstddef> include, for clang 3.5 earlier with libstdc++ 20140422 or later 2014-04-30 16:30:26 +09:00
bolero-MURAKAMI
74f79f3717 fix missing header <cmath> 2014-04-24 13:35:08 +09:00
bolero-MURAKAMI
20cefe452a fix warning 2014-04-23 11:44:50 +09:00
bolero-MURAKAMI
b04dea6002 add <cstring> and <cwchar> compatible constexpr functions 2014-04-23 01:27:03 +09:00
bolero-MURAKAMI
fe255a5e74 add c++14 fft/dft range algorithms 2014-04-21 23:30:43 +09:00
bolero-MURAKAMI
aaf31f2ab8 fix typo 2014-04-21 19:33:30 +09:00
bolero-MURAKAMI
cc48f3585a add c++14 constexpr spectrum and wave genarator algorithms 2014-04-20 15:25:25 +09:00
bolero-MURAKAMI
d1fc657c1f fix fft implementation 2014-04-18 19:33:48 +09:00
bolero-MURAKAMI
07b5f69ebb add C++14 constexpr fft/ifft 2014-04-18 11:34:28 +09:00
bolero-MURAKAMI
6a6fdd41ec add make_array_without_narrowing 2014-04-15 13:37:38 +09:00
bolero-MURAKAMI
36fe036f38 fix indent 2014-04-15 12:56:28 +09:00
bolero-MURAKAMI
6f399977b2 fix make_array (add common type version) 2014-04-15 12:31:13 +09:00
bolero-MURAKAMI
d082fa743b fix sub_array::get_array() 2014-04-14 17:00:28 +09:00
bolero-MURAKAMI
89734c0b09 fix include-quard 2014-04-14 15:56:18 +09:00
bolero-MURAKAMI
705773a03a remove warning 2014-04-14 15:52:20 +09:00
Bolero MURAKAMI
12e72dbf7e Merge pull request #31 from kariya-mitsuru/lexicographical_compare
[algorithm.lexicographical_compare, algorithm.tristate_lexicographical_compare]
2014-04-14 15:29:07 +09:00
bolero-MURAKAMI
fad447dd9d fix container_complete 2014-04-14 15:20:50 +09:00
bolero-MURAKAMI
2c0b1d4513 fix next|prev_permutation implementations 2014-04-14 15:16:05 +09:00
bolero-MURAKAMI
057dec630c fix parity bitwise operation implementation 2014-04-13 18:22:58 +09:00
bolero-MURAKAMI
3e4dd5de00 fix ctz/clz bitwise operation implementation 2014-04-13 17:48:24 +09:00
bolero-MURAKAMI
fb69a146dd fix io::format_expression 2014-04-11 13:57:38 +09:00
bolero-MURAKAMI
cd16923347 add C++14 constexpr range algorithms 2014-04-09 18:11:40 +09:00
bolero-MURAKAMI
856fb90150 add C++14 constexpr stable_partition, stable_sort, inplace_merge 2014-04-07 20:01:38 +09:00
bolero-MURAKAMI
262a5aa48b add C++14 constexpr partial_sort, partial_sort_copy 2014-04-07 12:54:40 +09:00
bolero-MURAKAMI
13e0c9b5f5 fix nth_element 2014-04-06 18:59:20 +09:00
bolero-MURAKAMI
098dd1721e add C++14 constexpr set/heap/permutation algorithms 2014-04-06 18:37:06 +09:00
bolero-MURAKAMI
ecccb58042 add C++14 constexpr merge algorithm 2014-04-06 13:16:08 +09:00
bolero-MURAKAMI
a090307cc2 fix numeric algorithms SFINAE 2014-04-06 12:25:26 +09:00
bolero-MURAKAMI
27f9f47027 fix fixed algorithms 2014-04-05 23:31:36 +09:00
bolero-MURAKAMI
57d4e78d54 add C++14 constexpr bogo_sort, bozo_sort 2014-04-05 21:56:06 +09:00
bolero-MURAKAMI
c54c980b79 add C++14 constexpr copy_while, copy_until, clamp_range 2014-04-05 21:23:26 +09:00