mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
add SPROUT_DEPRECATED
This commit is contained in:
parent
06bd554967
commit
2867cd79ef
20 changed files with 43 additions and 1 deletions
|
@ -51,8 +51,10 @@ namespace sprout {
|
|||
|
||||
//
|
||||
// convert_array
|
||||
// [[deprecated]]
|
||||
//
|
||||
template<typename T, typename Converter, typename... Types>
|
||||
SPROUT_DEPRECATED
|
||||
inline SPROUT_CONSTEXPR sprout::array<T, sizeof...(Types)>
|
||||
convert_array(Converter&& conv, Types&&... args) {
|
||||
return sprout::make_array<T>(sprout::forward<Converter>(conv)(sprout::forward<Types>(args))...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue