Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: in fo needed on Gradient fill Pin
sarat22-Jan-08 20:38
sarat22-Jan-08 20:38 
GeneralTypedef nightmare! [modified] Pin
Lea Hayes22-Jan-08 1:47
Lea Hayes22-Jan-08 1:47 
QuestionRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:04
mveCPallini22-Jan-08 2:04 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 2:28
Lea Hayes22-Jan-08 2:28 
GeneralRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:38
mveCPallini22-Jan-08 2:38 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 3:02
Lea Hayes22-Jan-08 3:02 
QuestionRe: Typedef nightmare! Pin
CPallini22-Jan-08 3:21
mveCPallini22-Jan-08 3:21 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 3:28
Lea Hayes22-Jan-08 3:28 
I only demonstrated the part which was not compiling, the template class in question does get used extensively when assigned to particular types.

for example,

typedef TemplateClass<int> IntVersion;<br />
typedef TemplateClass<float> FloatVersion;<br />
<br />
IntVersion a;<br />
a.foo();<br />
<br />
Bar(a);


Obviously the enum can now be accessed via the appropriate namespace. Before it was accessed via the template class (which in some ways was better because it grouped it with context), but having it in the namespace isn't exactly end of the world.

The template class will still be used for its primary purposes.
GeneralRe: Typedef nightmare! Pin
Luc Pattyn22-Jan-08 2:12
sitebuilderLuc Pattyn22-Jan-08 2:12 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 2:17
Lea Hayes22-Jan-08 2:17 
GeneralRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:18
mveCPallini22-Jan-08 2:18 
GeneralRead Data from Serial Port Pin
Susanmat22-Jan-08 1:28
Susanmat22-Jan-08 1:28 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 1:32
Cedric Moonen22-Jan-08 1:32 
JokeRe: Read Data from Serial Port Pin
CPallini22-Jan-08 1:57
mveCPallini22-Jan-08 1:57 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 3:12
Cedric Moonen22-Jan-08 3:12 
JokeRe: Read Data from Serial Port Pin
CPallini22-Jan-08 3:21
mveCPallini22-Jan-08 3:21 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 3:51
Cedric Moonen22-Jan-08 3:51 
GeneralRe: Read Data from Serial Port Pin
Susanmat22-Jan-08 18:30
Susanmat22-Jan-08 18:30 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 20:25
Cedric Moonen22-Jan-08 20:25 
GeneralTry-catch works with structured exception Pin
George_George22-Jan-08 0:11
George_George22-Jan-08 0:11 
GeneralRe: Try-catch works with structured exception Pin
CPallini22-Jan-08 2:17
mveCPallini22-Jan-08 2:17 
GeneralRe: Try-catch works with structured exception Pin
Stephen Hewitt22-Jan-08 12:47
Stephen Hewitt22-Jan-08 12:47 
GeneralRe: Try-catch works with structured exception Pin
George_George22-Jan-08 14:19
George_George22-Jan-08 14:19 
GeneralRe: Try-catch works with structured exception Pin
Stephen Hewitt22-Jan-08 12:42
Stephen Hewitt22-Jan-08 12:42 
GeneralRe: Try-catch works with structured exception Pin
George_George22-Jan-08 14:20
George_George22-Jan-08 14:20 

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.