fix optional

This commit is contained in:
bolero-MURAKAMI 2012-10-23 23:10:52 +09:00
parent 8cb432dee1
commit 410a8af026
3 changed files with 72 additions and 6 deletions

View file

@ -21,12 +21,12 @@ namespace sprout {
template<typename T>
inline SPROUT_CONSTEXPR typename sprout::optional<T>::pointer_const_type
get(sprout::optional<T> const* x) {
return x->get_ptr();
return x->get_pointer();
}
template<typename T>
inline typename sprout::optional<T>::pointer_type
get(sprout::optional<T>* x) {
return x->get_ptr();
return x->get_pointer();
}
//