OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (c) 2004-2010, International Business Machines | 3 * Copyright (c) 2004-2010, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Author: Alan Liu | 6 * Author: Alan Liu |
7 * Created: April 26, 2004 | 7 * Created: April 26, 2004 |
8 * Since: ICU 3.0 | 8 * Since: ICU 3.0 |
9 ********************************************************************** | 9 ********************************************************************** |
10 */ | 10 */ |
| 11 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS |
| 12 #include <exception> |
| 13 using std::exception; |
| 14 #endif |
11 #include <typeinfo> // for 'typeid' to work | 15 #include <typeinfo> // for 'typeid' to work |
12 | 16 |
13 #include "unicode/utypes.h" | 17 #include "unicode/utypes.h" |
14 | 18 |
15 #if !UCONFIG_NO_FORMATTING | 19 #if !UCONFIG_NO_FORMATTING |
16 | 20 |
17 #include "unicode/measure.h" | 21 #include "unicode/measure.h" |
18 #include "unicode/measunit.h" | 22 #include "unicode/measunit.h" |
19 | 23 |
20 U_NAMESPACE_BEGIN | 24 U_NAMESPACE_BEGIN |
(...skipping 37 matching lines...) Loading... |
58 //---------------------------------------------------------------------- | 62 //---------------------------------------------------------------------- |
59 // MeasureUnit implementation | 63 // MeasureUnit implementation |
60 | 64 |
61 MeasureUnit:: MeasureUnit() {} | 65 MeasureUnit:: MeasureUnit() {} |
62 | 66 |
63 MeasureUnit::~MeasureUnit() {} | 67 MeasureUnit::~MeasureUnit() {} |
64 | 68 |
65 U_NAMESPACE_END | 69 U_NAMESPACE_END |
66 | 70 |
67 #endif // !UCONFIG_NO_FORMATTING | 71 #endif // !UCONFIG_NO_FORMATTING |
OLD | NEW |