Click here to Skip to main content
15,924,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMDI - Access to Doc From MainFrame Pin
jerry1211a18-Feb-04 13:23
jerry1211a18-Feb-04 13:23 
GeneralRe: MDI - Access to Doc From MainFrame Pin
krithika_Ramanujam18-Feb-04 19:28
krithika_Ramanujam18-Feb-04 19:28 
GeneralSetFieldDirty Question Pin
ElizabethC18-Feb-04 12:59
ElizabethC18-Feb-04 12:59 
GeneralVariables in my own dialog box Pin
satcat18-Feb-04 12:56
satcat18-Feb-04 12:56 
GeneralRe: Variables in my own dialog box Pin
Prakash Nadar18-Feb-04 13:18
Prakash Nadar18-Feb-04 13:18 
GeneralRe: Variables in my own dialog box Pin
satcat18-Feb-04 13:56
satcat18-Feb-04 13:56 
Generalstd::allocator inheritance problem (please help) Pin
Jon McClure18-Feb-04 12:02
Jon McClure18-Feb-04 12:02 
GeneralRe: std::allocator inheritance problem (please help) Pin
Andrew Walker19-Feb-04 0:17
Andrew Walker19-Feb-04 0:17 
My first instinct on looking at the allocator was that most custom allocators I've seen don't inherit from std::allocator, and my second was that maybe throwing in a couple of 'typename's might make the problem go away - but that's a big guess - if my template code gets complicated enough to warrant that I've generally looked for a different approach Wink | ;) .

I went through my bookshelf and found some material on writing custom allocators in:
"The C++ Standard Library: A Tutorial and Reference" - Nicolai M. Josuttis (good basic reference)
"Modern C++ Design" - Andrei Alexandrescu (Fixed size allocator + tricks)
"The C++ Programming Language" - Bjarne Stroustrup (pool allocator)

But you're right though, there isn't much good stuff on writing allocators.


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralMessage Removed Pin
18-Feb-04 9:16
sussBryn Aspestrand18-Feb-04 9:16 
Generalcout behavior........ Pin
ns18-Feb-04 8:47
ns18-Feb-04 8:47 
GeneralRe: cout behavior........ Pin
Ravi Bhavnani18-Feb-04 8:58
professionalRavi Bhavnani18-Feb-04 8:58 
GeneralRe: cout behavior........ Pin
ns18-Feb-04 9:15
ns18-Feb-04 9:15 
GeneralRe: cout behavior........ Pin
Maximilien18-Feb-04 9:59
Maximilien18-Feb-04 9:59 
Generaloops! Pin
nss18-Feb-04 14:40
nss18-Feb-04 14:40 
GeneralRe: cout behavior........ Pin
Robert A. T. Káldy18-Feb-04 11:43
Robert A. T. Káldy18-Feb-04 11:43 
GeneralCombo Box Pin
DougW4818-Feb-04 8:40
DougW4818-Feb-04 8:40 
GeneralRe: Combo Box Pin
Ravi Bhavnani18-Feb-04 8:57
professionalRavi Bhavnani18-Feb-04 8:57 
GeneralRe: dialog mfc app Pin
David Crow18-Feb-04 5:58
David Crow18-Feb-04 5:58 
GeneralRe: dialog mfc app Pin
Irish_GUI18-Feb-04 6:52
Irish_GUI18-Feb-04 6:52 
GeneralRe: dialog mfc app Pin
David Crow18-Feb-04 7:00
David Crow18-Feb-04 7:00 
GeneralRe: dialog mfc app Pin
Irish_GUI18-Feb-04 8:19
Irish_GUI18-Feb-04 8:19 
GeneralRe: dialog mfc app Pin
David Crow18-Feb-04 8:34
David Crow18-Feb-04 8:34 
GeneralDLL global variables Pin
peterchen18-Feb-04 5:49
peterchen18-Feb-04 5:49 
GeneralRe: DLL global variables Pin
Steve S18-Feb-04 6:02
Steve S18-Feb-04 6:02 
GeneralRe: DLL global variables Pin
peterchen18-Feb-04 6:38
peterchen18-Feb-04 6:38 

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.