Get a good book on learning C++
The ISO C++ standard is the definition of the language. Much like a
dictionary is the definition of the words of a language.
You also get books describing the grammar
Neither a dictionary or a book in grammar will teach you anything other
than the definitions.
There are books on writing CV's, re****ts, short stories, novels and
re****ts.
In the same way there are books on writing C++ applications.
Just as authors find a dictionary, thesaurus and book on grammar useful
references they are not their primary guide on who to construct a
re****t, a novel or a CV.
So visit http://www.accu.org
and peruse the 3000 odd book reviews they
have on SW and C++
In article <1140450695.274302.162790@[EMAIL PROTECTED]
>,
mdlinux7@[EMAIL PROTECTED]
writes
>Best way to get inside C++ is to read C++ standards. Inspite of four
>years of experience, I get confused reading C++ standard.
>
>I could not understand the below paragraph $14.2
>
>Note: in a class template declaration, if the declarator-id is a
>template-id, the declaration declares a class template partial
>specialization
>
>A template specialization (_temp.spec_) can be referred to by a
>template-id:
>
>How could we justify the $14.2 paragraph in below example
>template<class T1, class T2, int I> class A { }; // #1
>template<class T, int I> class A<T, T*, I> { }; // #2
>partial specialization
>
>What will be declaration-id in above case ? As per my understanding,
>template-id will be class A<T,T*,I>.
>
>It gets difficult to understand keywords like declaration-id in C++
>standard. Is there any better way to understand C++ standards as I want
>to get hold of each line quoted in standards.
>
>Regards
>Dinesh
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@[EMAIL PROTECTED]
www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


|