xref: /llvm-project/libcxx/src/algorithm.cpp (revision 5b08a8a43254ed30bd953e869b0fd9fc1e8b82d0)
1 //===----------------------- algorithm.cpp --------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "algorithm"
11 
12 _LIBCPP_BEGIN_NAMESPACE_STD
13 
14 template void __sort<__less<char>&, char*>(char*, char*, __less<char>&);
15 template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
16 template void __sort<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);
17 template void __sort<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&);
18 template void __sort<__less<short>&, short*>(short*, short*, __less<short>&);
19 template void __sort<__less<unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, __less<unsigned short>&);
20 template void __sort<__less<int>&, int*>(int*, int*, __less<int>&);
21 template void __sort<__less<unsigned>&, unsigned*>(unsigned*, unsigned*, __less<unsigned>&);
22 template void __sort<__less<long>&, long*>(long*, long*, __less<long>&);
23 template void __sort<__less<unsigned long>&, unsigned long*>(unsigned long*, unsigned long*, __less<unsigned long>&);
24 template void __sort<__less<long long>&, long long*>(long long*, long long*, __less<long long>&);
25 template void __sort<__less<unsigned long long>&, unsigned long long*>(unsigned long long*, unsigned long long*, __less<unsigned long long>&);
26 template void __sort<__less<float>&, float*>(float*, float*, __less<float>&);
27 template void __sort<__less<double>&, double*>(double*, double*, __less<double>&);
28 template void __sort<__less<long double>&, long double*>(long double*, long double*, __less<long double>&);
29 
30 template bool __insertion_sort_incomplete<__less<char>&, char*>(char*, char*, __less<char>&);
31 template bool __insertion_sort_incomplete<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
32 template bool __insertion_sort_incomplete<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);
33 template bool __insertion_sort_incomplete<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&);
34 template bool __insertion_sort_incomplete<__less<short>&, short*>(short*, short*, __less<short>&);
35 template bool __insertion_sort_incomplete<__less<unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, __less<unsigned short>&);
36 template bool __insertion_sort_incomplete<__less<int>&, int*>(int*, int*, __less<int>&);
37 template bool __insertion_sort_incomplete<__less<unsigned>&, unsigned*>(unsigned*, unsigned*, __less<unsigned>&);
38 template bool __insertion_sort_incomplete<__less<long>&, long*>(long*, long*, __less<long>&);
39 template bool __insertion_sort_incomplete<__less<unsigned long>&, unsigned long*>(unsigned long*, unsigned long*, __less<unsigned long>&);
40 template bool __insertion_sort_incomplete<__less<long long>&, long long*>(long long*, long long*, __less<long long>&);
41 template bool __insertion_sort_incomplete<__less<unsigned long long>&, unsigned long long*>(unsigned long long*, unsigned long long*, __less<unsigned long long>&);
42 template bool __insertion_sort_incomplete<__less<float>&, float*>(float*, float*, __less<float>&);
43 template bool __insertion_sort_incomplete<__less<double>&, double*>(double*, double*, __less<double>&);
44 template bool __insertion_sort_incomplete<__less<long double>&, long double*>(long double*, long double*, __less<long double>&);
45 
46 template unsigned __sort5<__less<long double>&, long double*>(long double*, long double*, long double*, long double*, long double*, __less<long double>&);
47 
48 _LIBCPP_END_NAMESPACE_STD
49