Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-14 08:38:19


Synge Todo <wistaria_at_[hidden]> writes:

> The following line in in boost/thread/detail/lock.hpp (line 66), which
> was just changed yesterday, causes a syntax error on Tru64 unix (cxx).
>
> typedef typename Mutex mutex_type;
>
> (similar lines also in scoped_try_lock and scoped_timed_lock).
> AFAIK, we don't need "typename" in this case.

In fact, it's illegal to use typename here.

> Was this inserted as a
> workaround for a broken compiler???

There are no broken compilers I know of that are "fixed" by adding
typename where it's illegal.

> (Or, Tru64 cxx is broken???)

Nope.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk