Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] typedef problem on Microware/Radisys OS9
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-20 19:37:48


AMDG

Doug Crawford wrote:
> I am trying to port parts of boost to the Microware/Radisys OS9 platform. This is really an old embedded systems C++ compiler that has not been updated since about 1997. Anyways I can get shared_ptr to work and convert between convertible types. But when I try to compile anything out of type_traits library the compiler can't handle anything like:
>
> typedef typename se_t::template type<T> helper; (line 156 in is_enum.hpp)
>
> My compiler error is "expected an identifier" at ::template. I am guessing that I am out of luck, but is there any way to rewrite or simplify these kind of constructs?
>

I suspect that not much in Boost will work with such an old compiler.
However, you can try replacing template with BOOST_NESTED_TEMPLATE.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net