add const_iterator_cast

This commit is contained in:
bolero-MURAKAMI 2014-01-05 22:20:27 +09:00
parent be0bc155d8
commit cd72873c3a
7 changed files with 175 additions and 8 deletions

View file

@ -25,7 +25,7 @@ namespace sprout {
make_array(Types&&... args) {
return sprout::array<typename std::remove_cv<T>::type, sizeof...(Types)>{{T(sprout::forward<Types>(args))...}};
}
// !!!
// !!! OLD:
// template<typename... Types>
// inline SPROUT_CONSTEXPR sprout::array<typename sprout::common_decay<Types...>::type, sizeof...(Types)>
// make_array(Types&&... args) {