Re: Polyspace Problem
- From: Al Balmer <albalmer@xxxxxxx>
- Date: Wed, 28 Feb 2007 21:29:18 GMT
On Wed, 28 Feb 2007 13:22:06 -0800, Keith Thompson <kst-u@xxxxxxx>
wrote:
Al Balmer <albalmer@xxxxxxx> writes:
On Wed, 28 Feb 2007 11:55:29 -0800, Keith Thompson <kst-u@xxxxxxx>
wrote:
"hyderabadblues" <sirishkumar@xxxxxxxxx> writes:
When I compile the following code I am getting the error as
__true_type undefined
struct __true_type{
};
struct __type_traits{
typedef __true_type _h;
};
Get rid of the leading underscores. Identifiers starting with an
underscore are reserved to the implementation.
Sad to say, the OP claims to *be* an implementer:
"Actually the code is a extract of STL that is designed by us"
STL being the C++ Standard Template Library.
I assumed so.
I'm quite interested in the outcome of a project which is apparently
trying to implement the C++ STL in C. It must be a challenge.
Yes, but an STL implementation in C would not be part of the C
implementation.
But it would be part of a C++ implementation, wouldn't it? I haven't
actually looked at the standard in a long time, but I thought the STL
was adopted as part of the language. (I don't even remember if the
reserved namespaces are similar.)
Hmm, I don't *think* it would be. A library that's not part of the
standard C library, but that is perhaps integrated along with the
stuff that is required by the standard, is in a twilight zone between
the implementation and user code.
--
Al Balmer
Sun City, AZ
.
- Follow-Ups:
- Re: Polyspace Problem
- From: Keith Thompson
- Re: Polyspace Problem
- References:
- Polyspace Problem
- From: hyderabadblues
- Re: Polyspace Problem
- From: Keith Thompson
- Re: Polyspace Problem
- From: Al Balmer
- Re: Polyspace Problem
- From: Keith Thompson
- Polyspace Problem
- Prev by Date: Re: significance of graphics in c
- Next by Date: Re: Source Code for C Unleashed
- Previous by thread: Re: Polyspace Problem
- Next by thread: Re: Polyspace Problem
- Index(es):
Relevant Pages
|