21 Jul
2008
21 Jul
'08
6:20 p.m.
On Mon, Jul 21, 2008 at 11:29 AM, Steven Watanabe
AMDG
David Abrahams wrote:
What is the proper way to handle this? Below is my structure:
template< typename t_type > struct is_sink { typedef typename boost::mpl::or_< vfx::io::is_device
, boost::is_same type;
^ missing "::type" here? Otherwise, the "typename" above is probably illegal
typename is legal because the or_ is qualified. It doesn't matter that boost::mpl is a namespace. (Don't you just love these intuitive rules)
Mind emphasizing a bit? What do you mean by the or_ being qualified? You mean because I access it through namespace scope? I'm not sure what you mean...