On Tue, Nov 07, 2000 at 06:42:27PM +0000, Angus Leeming wrote: > Well now. I defined > > bool FormatsCompare( Format const & a, Format const & b ) > { > return( a.name < b.name ); > } > and then > sort( formats_vec.begin(), formats_vec.end(), &FormatsCompare ); > > And something similar for sorting Commands: > > Which all seems to work fine. Is your way "better"? Yes, because when using a functor the compare function is inlined, and here it is not! > instances, a system_converters and a user_converters or similar. Use system_converters and converters.
- Re: FormPreferences patch Dekel Tsur
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Dekel Tsur
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Jean-Marc Lasgouttes
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Jean-Marc Lasgouttes
- Re: FormPreferences patch Dekel Tsur
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Dekel Tsur
- Re: FormPreferences patch Andre Poenitz
- Re: FormPreferences patch Lars Gullik Bjønnes
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Dekel Tsur
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Jean-Marc Lasgouttes
- Re: FormPreferences patch Angus Leeming
- Re: FormPreferences patch Jean-Marc Lasgouttes
- Re: FormPreferences patch Jean-Marc Lasgouttes
- Re: FormPreferences patch Angus Leeming