#include <stddef.h>
Go to the source code of this file.
◆ MSVCRTEX_eh_vector_constructor_iterator()
Definition at line 10 of file ehvec.cpp.
11{
12 char *pEnd =
static_cast<char *
>(pMem) +
nItems * sizeOfItem;
13 for (char *pItem = static_cast<char *>(pMem);
14 pItem < pEnd;
15 pItem += sizeOfItem)
16 {
17 try
18 {
20 }
21 catch (...)
22 {
23 for (pItem -= sizeOfItem; pItem >= pMem; pItem -= sizeOfItem)
24 dtor(pItem);
25 throw;
26 }
27 }
28}
◆ MSVCRTEX_eh_vector_destructor_iterator()
Definition at line 30 of file ehvec.cpp.
31{
32 char *pEnd =
static_cast<char *
>(pMem) +
nItems * sizeOfItem;
33 for (char *pItem = pEnd - sizeOfItem;
34 pItem >= pMem;
35 pItem -= sizeOfItem)
36 {
37 try
38 {
39 dtor(pItem);
40 }
41 catch (...)
42 {
43 for (pItem -= sizeOfItem; pItem >= pMem; pItem -= sizeOfItem)
44 dtor(pItem);
45 throw;
46 }
47 }
48}