Boost logo

Boost :

Subject: Re: [boost] [filesystem] temp_dir_path()
From: Beman Dawes (bdawes_at_[hidden])
Date: 2010-10-19 06:54:21

On Tue, Oct 19, 2010 at 3:35 AM, Domagoj Saric <dsaritz_at_[hidden]> wrote:
> "Beman Dawes" <bdawes_at_[hidden]> wrote in message
>> Other than that, I guess we just wait for tests to cycle.
> Would it be perhaps possible to provide a lower-level function (even in the
> detail namespace) that uses a plain char buffer and an error code, that is
> free of std::vectors, std::strings, boost::paths, system::error_codes and
> other things one might not want to pay for (especially if one does not use
> them otherwise) just to make a system API call..? The 'proper' version can
> then wrap the thinner one...

It would be technically possible, of course, but ...

What you are really asking for, I think, is a C language interface or
something pretty close to that.

I could have designed the library that way, but didn't want to add a
third way for users to do things, and didn't want to take on the
increased documentation, test, etc, workload.


Boost list run by bdawes at, gregod at, cpdaniel at, john at