Operators with boost::reference_wrapper
2 Sep
2005
2 Sep
'05
6:15 p.m.
Although boost::reference_wrapper has a casting operator to T&, when I use
any operator on a reference_wrapper, I get a compiler error stating that
"boost::reference_wrapper<T> does not define this operator or a conversion
to a type acceptable to the predefined operator". E.g, this should compile,
but doesn't:
#include <string>
#include <iostream>
#include
7026
Age (days ago)
7026
Last active (days ago)
0 comments
1 participants
participants (1)
-
Edson Tadeu