mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-02 14:04:20 +00:00
fix: math functions (support for inferior C++14 standard)
add C++14 constexpr modifying algorithms
This commit is contained in:
parent
58cff54e0d
commit
c58c9cc0fc
106 changed files with 3465 additions and 2144 deletions
|
@ -25,6 +25,15 @@ namespace sprout {
|
|||
make_array(Types&&... args) {
|
||||
return sprout::array<T, sizeof...(Types)>{{T(sprout::forward<Types>(args))...}};
|
||||
}
|
||||
// template<typename... Types>
|
||||
// inline SPROUT_CONSTEXPR sprout::array<typename sprout::common_decay<Types&&...>::type, sizeof...(Types)>
|
||||
// make_array(Types&&... args) {
|
||||
// typedef sprout::array<
|
||||
// typename sprout::common_decay<Types&&...>::type,
|
||||
// sizeof...(Types)
|
||||
// > type;
|
||||
// return type{{typename sprout::common_decay<Types&&...>::type(sprout::forward<Types>(args))...}};
|
||||
// }
|
||||
|
||||
//
|
||||
// make_common_array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue