On Mon, Jul 21, 2008 at 11:29 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
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<t_type>,
       boost::is_same<t_type, vfx::io::Sink>
   > 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...