[optional] Why is operator-> disabled
26 Jun
2006
26 Jun
'06
12:44 p.m.
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
6712
Age (days ago)
6712
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jiri Palecek