1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fixed_container_traits 仕様変更

This commit is contained in:
bolero-MURAKAMI 2011-10-30 17:40:35 +09:00
parent 9a229b824f
commit 2168f05433
43 changed files with 174 additions and 202 deletions

View file

@ -22,7 +22,7 @@ namespace sprout {
//
template<typename Container>
SPROUT_CONSTEXPR inline typename sprout::fixed_container_traits<Container>::fixed_container_type const& get_cfixed(Container const& cont) {
return sprout::get_fixed_functor<Container>()(cont);
return sprout::get_fixed_functor<Container>().template operator()(cont);
}
//
@ -30,7 +30,7 @@ namespace sprout {
//
template<typename Container>
SPROUT_CONSTEXPR inline typename sprout::fixed_container_traits<Container>::fixed_container_type get_fixed_copy(Container const& cont) {
return sprout::get_fixed_functor<Container>()(cont);
return sprout::get_fixed_functor<Container>().template operator()(cont);
}
} // namespace sprout