| 1 | // Copyright 2019 Lichao Xia |
| 2 | // |
| 3 | // Distributed under the Boost Software License, Version 1.0. |
| 4 | // (See accompanying file LICENSE_1_0.txt |
| 5 | // or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | |
| 7 | // For more information, see http://www.boost.org |
| 8 | |
| 9 | #include <boost/config.hpp> |
| 10 | |
| 11 | #if (__cplusplus >= 201402L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L) |
| 12 | |
| 13 | #include <boost/dll/config.hpp> |
| 14 | #include <string> |
| 15 | |
| 16 | namespace space { |
| 17 | template<typename... T> |
| 18 | class test_template_class |
| 19 | {}; |
| 20 | |
| 21 | template<typename T1, |
| 22 | typename T2 = char, |
| 23 | typename T3 = test_template_class<int>> |
| 24 | class test_template_class_have_default_args |
| 25 | {}; |
| 26 | |
| 27 | class BOOST_SYMBOL_EXPORT cpp_plugin_type_pasrser |
| 28 | { |
| 29 | private: |
| 30 | /* data */ |
| 31 | public: |
| 32 | cpp_plugin_type_pasrser(/* args */); |
| 33 | cpp_plugin_type_pasrser(int*); |
| 34 | cpp_plugin_type_pasrser(const int*); |
| 35 | cpp_plugin_type_pasrser(const volatile int*); |
| 36 | cpp_plugin_type_pasrser(const std::string&); |
| 37 | cpp_plugin_type_pasrser(const volatile std::string*); |
| 38 | ~cpp_plugin_type_pasrser(); |
| 39 | void type_test(int*); |
| 40 | void type_test(const int*); |
| 41 | void type_test(const volatile int*); |
| 42 | void type_test(std::string*); |
| 43 | void type_test(const std::string*); |
| 44 | void type_test(const volatile std::string*); |
| 45 | void type_test(const std::string&); |
| 46 | void type_test(void (*)(const char* volatile)); |
| 47 | void type_test(volatile const char* const* volatile*&&); |
| 48 | void type_test(const char*) const; |
| 49 | void type_test(const char*) volatile; |
| 50 | void type_test(const char*) const volatile; |
| 51 | void type_test(const test_template_class<>&); |
| 52 | void type_test(const test_template_class<int>&); |
| 53 | void type_test(const test_template_class<std::string>&); |
| 54 | void type_test(const test_template_class<void(int)>&); |
| 55 | void type_test(const test_template_class<char, int, std::string>&); |
| 56 | void type_test(const test_template_class_have_default_args<int>&); |
| 57 | void type_test(const test_template_class_have_default_args<int, double>&); |
| 58 | void type_test( |
| 59 | const test_template_class_have_default_args<int, double, std::string>&); |
| 60 | }; |
| 61 | |
| 62 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(/* args */) {} |
| 63 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(int*) {} |
| 64 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(const int*) {} |
| 65 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(const volatile int*) {} |
| 66 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(const std::string&) {} |
| 67 | cpp_plugin_type_pasrser::cpp_plugin_type_pasrser(const volatile std::string*) {} |
| 68 | cpp_plugin_type_pasrser::~cpp_plugin_type_pasrser() {} |
| 69 | void |
| 70 | cpp_plugin_type_pasrser::type_test(int*) |
| 71 | {} |
| 72 | void |
| 73 | cpp_plugin_type_pasrser::type_test(const int*) |
| 74 | {} |
| 75 | void |
| 76 | cpp_plugin_type_pasrser::type_test(const volatile int*) |
| 77 | {} |
| 78 | void |
| 79 | cpp_plugin_type_pasrser::type_test(std::string*) |
| 80 | {} |
| 81 | void |
| 82 | cpp_plugin_type_pasrser::type_test(const std::string*) |
| 83 | {} |
| 84 | void |
| 85 | cpp_plugin_type_pasrser::type_test(const volatile std::string*) |
| 86 | {} |
| 87 | |
| 88 | void |
| 89 | cpp_plugin_type_pasrser::type_test(const std::string&) |
| 90 | {} |
| 91 | |
| 92 | void |
| 93 | cpp_plugin_type_pasrser::type_test(void (*)(const char* volatile)) |
| 94 | {} |
| 95 | |
| 96 | void |
| 97 | cpp_plugin_type_pasrser::type_test(const volatile char* const* volatile*&&) |
| 98 | {} |
| 99 | |
| 100 | void |
| 101 | cpp_plugin_type_pasrser::type_test(const char*) const |
| 102 | {} |
| 103 | |
| 104 | void |
| 105 | cpp_plugin_type_pasrser::type_test(const char*) volatile |
| 106 | {} |
| 107 | |
| 108 | void |
| 109 | cpp_plugin_type_pasrser::type_test(const char*) const volatile |
| 110 | {} |
| 111 | void |
| 112 | cpp_plugin_type_pasrser::type_test(const test_template_class<>&) |
| 113 | {} |
| 114 | void |
| 115 | cpp_plugin_type_pasrser::type_test(const test_template_class<int>&) |
| 116 | {} |
| 117 | void |
| 118 | cpp_plugin_type_pasrser::type_test(const test_template_class<std::string>&) |
| 119 | {} |
| 120 | void |
| 121 | cpp_plugin_type_pasrser::type_test( |
| 122 | const test_template_class<char, int, std::string>&) |
| 123 | {} |
| 124 | void |
| 125 | cpp_plugin_type_pasrser::type_test(const test_template_class<void(int)>&) |
| 126 | {} |
| 127 | void |
| 128 | cpp_plugin_type_pasrser::type_test( |
| 129 | const test_template_class_have_default_args<int>&) |
| 130 | {} |
| 131 | void |
| 132 | cpp_plugin_type_pasrser::type_test( |
| 133 | const test_template_class_have_default_args<int, double>&) |
| 134 | {} |
| 135 | void |
| 136 | cpp_plugin_type_pasrser::type_test( |
| 137 | const test_template_class_have_default_args<int, double, std::string>&) |
| 138 | {} |
| 139 | } // namespace space |
| 140 | |
| 141 | #endif |
| 142 | |