update make_array, update copyright

This commit is contained in:
Bolero-MURAKAMI 2014-04-28 11:06:06 +09:00
parent 8bc3c20873
commit 6183b74ad9
166 changed files with 193 additions and 178 deletions

View file

@ -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
========================================

View file

@ -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
========================================