Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   what does T" means (http://www.go4expert.com/forums/t-means-t7001/)

ravi_garg 24Oct2007 17:00

what does T" means
 
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... :confused:

shabbir 24Oct2007 20:48

Re: what does T" means
 
Try compiling and see if it compiles correctly without any errors / warnings.

ravi_garg 25Oct2007 11:22

Re: what does T" means
 
Ya compiler does give an error.
The piece of code is taken form an e-book.
probably some typo.

shabbir 25Oct2007 17:12

Re: what does T" means
 
Looks like

Manojbijnori 3Jul2009 15:27

Re: what does T" means
 
Here T is a data type for the class type variable:cryin::mad:

=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... :confused:[/quote]

naimish 3Jul2009 15:31

Re: what does T" means
 
T is a parameter over here.


All times are GMT +5.5. The time now is 15:54.