blob: 16221f4b75156f151f1ead099575c77bc34a351a [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001//===----------------------- algorithm.cpp --------------------------------===//
2//
Chandler Carruthd2012102019-01-19 10:56:40 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Howard Hinnantc51e1022010-05-11 19:42:16 +00006//
7//===----------------------------------------------------------------------===//
8
9#include "algorithm"
10
11_LIBCPP_BEGIN_NAMESPACE_STD
12
13template void __sort<__less<char>&, char*>(char*, char*, __less<char>&);
Louis Dionne89258142021-08-23 15:32:36 -040014#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
Howard Hinnantc51e1022010-05-11 19:42:16 +000015template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
Louis Dionne89258142021-08-23 15:32:36 -040016#endif
Howard Hinnantc51e1022010-05-11 19:42:16 +000017template void __sort<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);
18template void __sort<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&);
19template void __sort<__less<short>&, short*>(short*, short*, __less<short>&);
20template void __sort<__less<unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, __less<unsigned short>&);
21template void __sort<__less<int>&, int*>(int*, int*, __less<int>&);
22template void __sort<__less<unsigned>&, unsigned*>(unsigned*, unsigned*, __less<unsigned>&);
23template void __sort<__less<long>&, long*>(long*, long*, __less<long>&);
24template void __sort<__less<unsigned long>&, unsigned long*>(unsigned long*, unsigned long*, __less<unsigned long>&);
25template void __sort<__less<long long>&, long long*>(long long*, long long*, __less<long long>&);
26template void __sort<__less<unsigned long long>&, unsigned long long*>(unsigned long long*, unsigned long long*, __less<unsigned long long>&);
27template void __sort<__less<float>&, float*>(float*, float*, __less<float>&);
28template void __sort<__less<double>&, double*>(double*, double*, __less<double>&);
29template void __sort<__less<long double>&, long double*>(long double*, long double*, __less<long double>&);
30
31template bool __insertion_sort_incomplete<__less<char>&, char*>(char*, char*, __less<char>&);
Louis Dionne89258142021-08-23 15:32:36 -040032#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
Howard Hinnantc51e1022010-05-11 19:42:16 +000033template bool __insertion_sort_incomplete<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&);
Louis Dionne89258142021-08-23 15:32:36 -040034#endif
Howard Hinnantc51e1022010-05-11 19:42:16 +000035template bool __insertion_sort_incomplete<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&);
36template bool __insertion_sort_incomplete<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&);
37template bool __insertion_sort_incomplete<__less<short>&, short*>(short*, short*, __less<short>&);
38template bool __insertion_sort_incomplete<__less<unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, __less<unsigned short>&);
39template bool __insertion_sort_incomplete<__less<int>&, int*>(int*, int*, __less<int>&);
40template bool __insertion_sort_incomplete<__less<unsigned>&, unsigned*>(unsigned*, unsigned*, __less<unsigned>&);
41template bool __insertion_sort_incomplete<__less<long>&, long*>(long*, long*, __less<long>&);
42template bool __insertion_sort_incomplete<__less<unsigned long>&, unsigned long*>(unsigned long*, unsigned long*, __less<unsigned long>&);
43template bool __insertion_sort_incomplete<__less<long long>&, long long*>(long long*, long long*, __less<long long>&);
44template bool __insertion_sort_incomplete<__less<unsigned long long>&, unsigned long long*>(unsigned long long*, unsigned long long*, __less<unsigned long long>&);
45template bool __insertion_sort_incomplete<__less<float>&, float*>(float*, float*, __less<float>&);
46template bool __insertion_sort_incomplete<__less<double>&, double*>(double*, double*, __less<double>&);
47template bool __insertion_sort_incomplete<__less<long double>&, long double*>(long double*, long double*, __less<long double>&);
48
49template unsigned __sort5<__less<long double>&, long double*>(long double*, long double*, long double*, long double*, long double*, __less<long double>&);
50
Howard Hinnantc51e1022010-05-11 19:42:16 +000051_LIBCPP_END_NAMESPACE_STD