Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ScaleViewportExt and SetViewOrg related query Pin
JHAKAS10-Dec-04 20:08
JHAKAS10-Dec-04 20:08 
GeneralSDI, MDI or dialog based Pin
help_cplus10-Dec-04 3:31
help_cplus10-Dec-04 3:31 
GeneralRe: SDI, MDI or dialog based Pin
Maximilien10-Dec-04 3:46
Maximilien10-Dec-04 3:46 
GeneralRe: SDI, MDI or dialog based Pin
help_cplus11-Dec-04 12:25
help_cplus11-Dec-04 12:25 
Generalreturning CMap object Pin
Tariq87810-Dec-04 1:55
Tariq87810-Dec-04 1:55 
GeneralRe: returning CMap object Pin
Antti Keskinen10-Dec-04 3:12
Antti Keskinen10-Dec-04 3:12 
GeneralRe: returning CMap object Pin
Cedric Moonen10-Dec-04 4:11
Cedric Moonen10-Dec-04 4:11 
GeneralRe: returning CMap object Pin
Antti Keskinen10-Dec-04 4:44
Antti Keskinen10-Dec-04 4:44 
cedric moonen wrote:
Or you can typedef this outside of your class (in the header file):

typedef CMap<....> MyMap

and return this typedef:

MyMap getMap();


But the type of the map (template arguments) must be explicitly specified in every case, isn't that so ? I mean, you can't return a pointer to a CMap instantation that has none of the template parameters defined ?

I believe the error the asker was having is due to the lack of template arguments.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: returning CMap object Pin
Cedric Moonen10-Dec-04 5:10
Cedric Moonen10-Dec-04 5:10 
GeneralCListCtrl Text Color Pin
Neelesh K J Jain10-Dec-04 1:19
Neelesh K J Jain10-Dec-04 1:19 
GeneralRe: CListCtrl Text Color Pin
Jim Crafton10-Dec-04 6:38
Jim Crafton10-Dec-04 6:38 
Generalserial com / usb Pin
doneirik10-Dec-04 1:16
doneirik10-Dec-04 1:16 
GeneralRe: serial com / usb Pin
Cedric Moonen10-Dec-04 1:27
Cedric Moonen10-Dec-04 1:27 
GeneralRe: serial com / usb Pin
doneirik10-Dec-04 3:10
doneirik10-Dec-04 3:10 
GeneralRe: serial com / usb Pin
Antti Keskinen10-Dec-04 4:07
Antti Keskinen10-Dec-04 4:07 
GeneralRe: serial com / usb Pin
Trollslayer10-Dec-04 5:23
mentorTrollslayer10-Dec-04 5:23 
GeneralRe: serial com / usb Pin
doneirik13-Dec-04 1:37
doneirik13-Dec-04 1:37 
GeneralDebug Assertion failed Error Pin
Shailaja10-Dec-04 1:08
Shailaja10-Dec-04 1:08 
GeneralRe: Debug Assertion failed Error Pin
Cedric Moonen10-Dec-04 1:15
Cedric Moonen10-Dec-04 1:15 
GeneralRe: Debug Assertion failed Error Pin
Shailaja10-Dec-04 1:22
Shailaja10-Dec-04 1:22 
GeneralRe: Debug Assertion failed Error Pin
ThatsAlok10-Dec-04 1:24
ThatsAlok10-Dec-04 1:24 
GeneralRe: Debug Assertion failed Error Pin
Shailaja10-Dec-04 1:37
Shailaja10-Dec-04 1:37 
GeneralRe: Debug Assertion failed Error Pin
ThatsAlok10-Dec-04 2:16
ThatsAlok10-Dec-04 2:16 
QuestionHow to use CTabCtrl Pin
toxcct9-Dec-04 23:55
toxcct9-Dec-04 23:55 
AnswerRe: How to use CTabCtrl Pin
Mircea Puiu10-Dec-04 0:41
Mircea Puiu10-Dec-04 0:41 

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.