TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
siabanie banie
NA
68
74.1k
About templetes C++
Jan 24 2012 9:22 PM
Hi all,
I like to ask about templates: as for example we have derived template class:
template <class T> class TwoDimArray : public Array < Array <T> > {
public:
TwoDimArray();
}
I know that the derived template class snippets above is legal but why?
Can anyone explain to me as I thought it is not allowed? And I also like to know what is the purpose of the spaces in the < Array<T> >, are they necessary? If so why?
Reply
Answers (
1
)
C++ while loop using i--
How to create a dll based on the c code in vc++?