Boost logo

Boost :

From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2007-09-19 08:35:57


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Markus Schöpflin
> Sent: Wednesday, September 19, 2007 1:02 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [filesystem] SVN doesn't like files created
> byfilesystem tests.
>
> Beman Dawes wrote:
>
> > OK, done. fstream_test also had to be changed. Ping me if that doesn't
> > solve your problem.
>
> I just checked, svn no longer complains after running the filesystem
> tests.
> The only leftover from the tests now is the xx directory, created by
> convenience_test.
>
> Thanks, Markus
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost

Hey,

I don't know the boost process, but are you guys putting these things into the head branch yet?
I just fixed what may be a related problem locally in my working copy (checked out a only a few hours ago).

Basically the template functions were taking parameters of Path&, which would sometimes force the template parameter Path to be a const type, and in turn make some other data-types not default-constructible.

What is the policy here: should I send a svn patch? Can I send attachments to the list?
 
Index: operations.hpp
===================================================================
@@ -225,7 +225,7 @@
 # endif
 
       template<class Path>
- unsigned long remove_all_aux( Path & ph );
+ unsigned long remove_all_aux( const Path & ph );
 
     } // namespace detail
@@ -739,7 +739,7 @@
     namespace detail
     {
       template<class Path>
- unsigned long remove_all_aux( Path & ph )
+ unsigned long remove_all_aux( const Path & ph )
       {
         static const boost::filesystem::basic_directory_iterator<Path> end_itr;
         unsigned long count = 1;


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