
14 Jul
2004
14 Jul
'04
1:38 p.m.
Synge Todo <wistaria@comp-phys.org> 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