Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-17 14:55:22


"Reece Dunn" <msclrhd_at_[hidden]> writes:

> David Abrahams wrote:
>>
>> 1. stop exporting it; make everything inline (you can dispatch to
>> exported implementation functions).
>
> How would this work? Surely you would still have the same problem, or
> am I missing something?

You're missing something; what more can I say? inline functions can
call functions in a DLL.

>> 2. provide dummy advance and decrement functions
>
> This would prevent the compiler throwing errors when trying to apply
> non-InputIterator operations on directory_iterator.

That's why I said I prefer #1

>>I'm sure there are a few others, but those are the ones that are
>>obvious to me. I prefer #1 because it prevents misuse from compiling.
>
> Regards,
> Reece H Dunn
>
> _________________________________________________________________
> Use MSN Messenger to send music and pics to your friends
> http://www.msn.co.uk/messenger
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk