what does T" means

ravi_garg's Avatar, Join Date: Oct 2007
Newbie Member
what does T" means in the following signature..
Code:
template <typename T>
const T" operator [] ( int idx) const;
Here T is template name but what does " means...
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Try compiling and see if it compiles correctly without any errors / warnings.
ravi_garg's Avatar, Join Date: Oct 2007
Newbie Member
Ya compiler does give an error.
The piece of code is taken form an e-book.
probably some typo.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Looks like
Manojbijnori's Avatar, Join Date: Jun 2009
Go4Expert Member
Here T is a data type for the class type variable

=ravi_garg;19559]what does T" means in the following signature..
Code:
template <typename T>
const T" operator [] ( int idx) const;
Here T is template name but what does " means... [/quote]
naimish's Avatar
Banned
T is a parameter over here.