mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
update make_array, update copyright
This commit is contained in:
parent
8bc3c20873
commit
6183b74ad9
166 changed files with 193 additions and 178 deletions
|
@ -8,7 +8,11 @@ Interface
|
|||
.. sourcecode:: c++
|
||||
|
||||
template<typename T, typename... Types>
|
||||
inline SPROUT_CONSTEXPR sprout::array<T, sizeof...(Types)>
|
||||
inline SPROUT_CONSTEXPR sprout::array<typename std::remove_cv<T>::type, sizeof...(Types)>
|
||||
make_array(Types&&... args);
|
||||
|
||||
template</*implementation-defined*/, typename... Types>
|
||||
inline SPROUT_CONSTEXPR sprout::array<typename sprout::common_decay<Types...>::type, sizeof...(Types)>
|
||||
make_array(Types&&... args);
|
||||
|
||||
Returns
|
||||
|
@ -19,7 +23,8 @@ Returns
|
|||
Remarks
|
||||
========================================
|
||||
|
||||
| This function needs to be specified in the template parameters explicitly type T of the elements in the array.
|
||||
| A first version needs to be specified in the template parameters explicitly type T of the elements in the array.
|
||||
| And, the type of the elements in the array is a decayed common type of all arguments in the second version.
|
||||
|
||||
Examples
|
||||
========================================
|
||||
|
|
|
@ -8,7 +8,7 @@ Interface
|
|||
.. sourcecode:: c++
|
||||
|
||||
template<typename... Types>
|
||||
inline SPROUT_CONSTEXPR sprout::array<typename sprout::common_decay<Types&&...>::type, sizeof...(Types)>
|
||||
inline SPROUT_CONSTEXPR sprout::array<typename sprout::common_decay<Types...>::type, sizeof...(Types)>
|
||||
make_common_array(Types&&... args);
|
||||
|
||||
Returns
|
||||
|
@ -19,7 +19,7 @@ Returns
|
|||
Remarks
|
||||
========================================
|
||||
|
||||
| Type of the elements in the array is a decayed common type of all arguments.
|
||||
| The type of the elements in the array is a decayed common type of all arguments.
|
||||
|
||||
Examples
|
||||
========================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue