|
Boost Users : |
From: Jiri Palecek (jpalecek_at_[hidden])
Date: 2006-06-26 08:44:23
Hello,
I have been using boost::optional with a reference parameter
recently, and I was puzzled by the fact that it is not possible
to use operator-> to get the content. I could understand that
get_pointer is disabled, but there is always a pointer such
as
*p==optional.get()
and you can't actually get the pointer from operator->
Regards
Jiri Palecek
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net