Re: [boost] Re: notation question

2003-01-09 Thread Pavol Droba
On Wed, Jan 08, 2003 at 12:06:33PM -0500, David Abrahams wrote: Vladimir Prus [EMAIL PROTECTED] writes: David Abrahams wrote: Vladimir Prus [EMAIL PROTECTED] writes: I'd prefer the latter variant, so that non-broken platforms use more natural syntax. Another question is whether we could

[boost] Re: notation question

2003-01-08 Thread Vladimir Prus
Hi Pavol, Pavol Droba wrote: I have following two variants of the same function: // find_first sequence const version template typename InputT, typename SearchT inline iterator_range typename InputT::const_iterator find_first( const InputT Input, const SearchT Search ) {

Re: [boost] Re: notation question

2003-01-08 Thread Pavol Droba
On Wed, Jan 08, 2003 at 05:10:17PM +0300, Vladimir Prus wrote: Hi Pavol, Pavol Droba wrote: I have following two variants of the same function: // find_first sequence const version template typename InputT, typename SearchT inline iterator_range typename

Re: [boost] Re: notation question

2003-01-08 Thread David Abrahams
Vladimir Prus [EMAIL PROTECTED] writes: Hi Pavol, Pavol Droba wrote: I have following two variants of the same function: // find_first sequence const version template typename InputT, typename SearchT inline iterator_range typename InputT::const_iterator find_first(

Re: [boost] Re: notation question

2003-01-08 Thread Terje Slettebø
From: Vladimir Prus [EMAIL PROTECTED] Pavol Droba wrote: I have following two variants of the same function: // find_first sequence const version template typename InputT, typename SearchT inline iterator_range typename InputT::const_iterator find_first( const

[boost] Re: notation question

2003-01-08 Thread Vladimir Prus
David Abrahams wrote: Vladimir Prus [EMAIL PROTECTED] writes: I'd prefer the latter variant, so that non-broken platforms use more natural syntax. Another question is whether we could use only the second version. Theoretically, if you call the second version on const string, then InputT

Re: [boost] Re: notation question

2003-01-08 Thread David Abrahams
Vladimir Prus [EMAIL PROTECTED] writes: David Abrahams wrote: Vladimir Prus [EMAIL PROTECTED] writes: I'd prefer the latter variant, so that non-broken platforms use more natural syntax. Another question is whether we could use only the second version. Theoretically, if you call the second

[boost] Re: notation question

2003-01-08 Thread Dirk Gerrits
Dirk Gerrits wrote: Vladimir Prus wrote: David Abrahams wrote: Vladimir Prus [EMAIL PROTECTED] writes: I'd prefer the latter variant, so that non-broken platforms use more natural syntax. Another question is whether we could use only the second version. Theoretically, if you call the