I forgot to write the whole error message, this one was second:
'T' does not name a type
User Profile
Collapse
-
typename typedef T Type;
Hi. Sorry if it was solve in any other thread, but I haven't found it...
(please just send me link if exists)
I received some code for my thesis as framework, but I can't compile it. The problems stands on this code fragment:
template <class T >
class cBasicType: public cDataType
{
public:
typename typedef T Type;
static const Type MAX = 0xffffffff;
And... -
XML LL(1) grammar
Has anybody tried to rewrite the whole XML EBNF grammar to LL(1) form? I try to write recursive descent parser...but i have some problems. Can anybody show me LL(1) grammar for XML, something like:
1.)element → [<] · name · attribute_list · element_suffix
2.) element_suffix → [/] · [>]
3.) element_suffix → [>] · element · [<] · [/] · [name] · [>]
4.) attribute_list →...
No activity results to display
Show More
Leave a comment: