summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/src/segment/explicit_instantiations.cpp
blob: 0aa2a40dddf3aab2fee28f24abd06c44753ba58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*--------------------------------------------------------------------*//*:Ignore this sentence.
Copyright (C) 1999, 2001 SIL International. All rights reserved.

Distributable under the terms of either the Common Public License or the
GNU Lesser General Public License, as specified in the LICENSING.txt file.

File: explicit_instantiation.cpp
Responsibility: Sharon Correll
Last reviewed: Not yet.

Description:
    Explicitly instantiate HashMap and Vector types used in the GrEngine module.
-------------------------------------------------------------------------------*//*:End Ignore*/

// Standard includes for the module, gives the types we have to instantiate
#include "Main.h"
#pragma hdrstop

// Standard includes for doing explicit instantiation:

//////#include "Vector_i.cpp"

namespace gr
{

// Types we use:
template class std::vector<int>;
// STL port doesn't like this
//template class std::vector<bool>;
template class std::vector<GrSlotState *>;
template class std::vector<GrGlyphSubTable *>;
template class std::vector<int *>;
/////template std::vector<std::wstring>;  // remove
template class std::vector<OLECHAR>;
template class std::vector<byte>;
template class std::vector<DirCode>;

// VS6.0 doesn't like these:
//template std::vector<RECT>;
//template std::vector<Segment::GlyphStrmKey>;
//template std::vector<Segment::LineSeg>;
//template std::vector<GrGlyphIndexPair>;

} // namespace gr