| 1 | #ifndef _FACET_INST_MACROS_H |
| 2 | #define _FACET_INST_MACROS_H |
| 3 | |
| 4 | // These macros are used for explicit instantiation definitions in src/c++11/ |
| 5 | |
| 6 | #define INSTANTIATE_USE_FACET(...) \ |
| 7 | template const __VA_ARGS__* \ |
| 8 | __try_use_facet< __VA_ARGS__ >(const locale&) noexcept; \ |
| 9 | template const __VA_ARGS__& \ |
| 10 | use_facet<__VA_ARGS__>(const locale&) |
| 11 | |
| 12 | #define INSTANTIATE_FACET_ACCESSORS(...) \ |
| 13 | INSTANTIATE_USE_FACET(__VA_ARGS__); \ |
| 14 | template bool \ |
| 15 | has_facet<__VA_ARGS__>(const locale&) noexcept |
| 16 | |
| 17 | #endif // _FACET_INST_MACROS_H |