define max length for allocator

Joined
Feb 12, 2008
Messages
108
Reaction score
0
Hello everyone,


In MSDN length_error sample,

http://msdn2.microsoft.com/en-us/library/2af6btx2.aspx

it uses internal macro _SIZT, other than size_t. I have found in file xmemory, _SIZT is defined to size_t.

So, my questions are

1. why not use size_t directly, why use an internal name (begins with _)?

2. Do we have to use _SIZT when we define a customized allocator?


thanks in advance,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

allocator implementation 0
struct inside a class 0
MSDN template sample 0
Skipws 0
DebugBreak 0
Struct or class? 10
MSDN volatile sample 13
Structured exception 1

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top