Click here to Skip to main content
15,893,644 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to allocate multi-dimensional pointer in c and c++? for example: char*** str; Pin
David Crow12-Mar-08 3:01
David Crow12-Mar-08 3:01 
GeneralRe: How to allocate multi-dimensional pointer in c and c++? for example: char*** str; Pin
Gofur Halmurat12-Mar-08 3:07
Gofur Halmurat12-Mar-08 3:07 
GeneralRe: How to allocate multi-dimensional pointer in c and c++? for example: char*** str; Pin
Gofur Halmurat12-Mar-08 3:09
Gofur Halmurat12-Mar-08 3:09 
QuestionCould not update; currently locked by user - VC + Access + Windows XP Pin
SelvaKr12-Mar-08 2:18
SelvaKr12-Mar-08 2:18 
QuestionRe: Could not update; currently locked by user - VC + Access + Windows XP Pin
David Crow12-Mar-08 2:37
David Crow12-Mar-08 2:37 
GeneralRe: Could not update; currently locked by user - VC + Access + Windows XP Pin
SelvaKr12-Mar-08 2:50
SelvaKr12-Mar-08 2:50 
QuestionRe: Could not update; currently locked by user - VC + Access + Windows XP Pin
David Crow12-Mar-08 2:57
David Crow12-Mar-08 2:57 
GeneralDeducing Function Template Arguments Pin
George_George12-Mar-08 1:49
George_George12-Mar-08 1:49 
Hello everyone,


Here is my understanding of what Bjarne said in his The C++ Programming Language book. I am not sure whether my understanding is correct? I am somewhat confused about the following statements.

My understanding is,

means if a function call like this,

void func(const A a) // A is a specific type


then compiler can deduce argument type of template function below to A?

template <class T> func (T a)


Bjarne's original statements are,

--------------------
C.13.4 Deducing Function Template Arguments

A compiler can deduce a type template argument, T or TT , and a nontype
template argument, I, from a template function argument with a type composed of the following constructs:

T const T volatile T
T*  T& T[constant_expression]
type[I]  class_template_name<T> class_template_name<I>
T T<T > T<I > T<>

--------------------


thanks in advance,
George
GeneralRe: Deducing Function Template Arguments Pin
Matthew Faithfull12-Mar-08 4:47
Matthew Faithfull12-Mar-08 4:47 
GeneralRe: Deducing Function Template Arguments Pin
George_George12-Mar-08 14:15
George_George12-Mar-08 14:15 
Generalabout the dll and lib Pin
wendyyue12-Mar-08 1:25
wendyyue12-Mar-08 1:25 
GeneralRe: about the dll and lib Pin
Rajesh R Subramanian12-Mar-08 1:51
professionalRajesh R Subramanian12-Mar-08 1:51 
GeneralRe: about the dll and lib Pin
ThatsAlok1-Apr-09 19:01
ThatsAlok1-Apr-09 19:01 
GeneralRe: about the dll and lib Pin
Nathan Holt at EMOM12-Mar-08 5:40
Nathan Holt at EMOM12-Mar-08 5:40 
GeneralSerialization Pin
neha.agarwal2712-Mar-08 1:03
neha.agarwal2712-Mar-08 1:03 
GeneralRe: Serialization Pin
Rajkumar R12-Mar-08 2:21
Rajkumar R12-Mar-08 2:21 
Questioncan anybody help me in creating dll Pin
Deepu Antony12-Mar-08 0:41
Deepu Antony12-Mar-08 0:41 
AnswerRe: can anybody help me in creating dll Pin
Iain Clarke, Warrior Programmer12-Mar-08 1:26
Iain Clarke, Warrior Programmer12-Mar-08 1:26 
GeneralRe: can anybody help me in creating dll Pin
Rajesh R Subramanian12-Mar-08 1:49
professionalRajesh R Subramanian12-Mar-08 1:49 
GeneralRe: can anybody help me in creating dll Pin
Deepu Antony12-Mar-08 4:16
Deepu Antony12-Mar-08 4:16 
AnswerRe: can anybody help me in creating dll Pin
David Crow12-Mar-08 2:39
David Crow12-Mar-08 2:39 
GeneralRe: can anybody help me in creating dll Pin
Deepu Antony12-Mar-08 3:38
Deepu Antony12-Mar-08 3:38 
AnswerRe: can anybody help me in creating dll Pin
Rajkumar R12-Mar-08 4:19
Rajkumar R12-Mar-08 4:19 
GeneralRe: can anybody help me in creating dll Pin
Ernest Laurentin12-Mar-08 4:46
Ernest Laurentin12-Mar-08 4:46 
GeneralTransparent Value over the screen Pin
Chandrasekharan P12-Mar-08 0:39
Chandrasekharan P12-Mar-08 0:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.