$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2003-07-22 15:35:59
Daniel Frey <daniel.frey_at_[hidden]> writes:
> IIUC, the 'T' that the standard mentions is the 'myclass' in Daniel
> Spangenberg's example.
You're right.
> The operators provided by X<T> should be found in T's namespace
Ah, as I understand it. They're namespace-scope friend functions in
the namespace of X, but that fact doesn't mean much because of course
you can't access them with X::....
> , so it works whether 'T' is a template-id or not
You're right. It works because the base classes of T are
"associated" in:
struct myclass : X<myclass> {};
-- Dave Abrahams Boost Consulting www.boost-consulting.com