blob: f431fba88d8ad6943e434fe50a10bbc8933f0ae3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Build don't link:
template< class T >
void sort( T* t, int n )
{
struct
/*line5*/ {
int operator()(T i, T j)
{
return (i < j) ? -1 : ((j < i) ? 1 : 0) ;
}
} c ;
sort(t, n, c, 0) ;
}
|