$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2008-05-22 11:47:14
Daniel Krügler wrote:
> #include <utility>
>
> template <typename>
> struct TT {
> typename std::pair<int, double>::first_type name() {
> return 0;
> }
> };
>
> int main() {
> return TT<void>().name();
> }
>
> If the compiler does not accept the typename here, it is
> broken, which was the essence of my OP.
I see. Yeah, it was a bit hard to track what was going on with the OP's
code.