add SPROUT_DEPRECATED

This commit is contained in:
bolero-MURAKAMI 2014-02-21 00:25:55 +09:00
parent 06bd554967
commit 2867cd79ef
20 changed files with 43 additions and 1 deletions

View file

@ -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))...);