Modify

Opened 18 months ago

Last modified 16 months ago

#12265 new Feature Requests

Request to use standard objects if available

Reported by: lcarreon@… Owned by: Antony Polukhin
Milestone: To Be Determined Component: None
Version: Boost 1.61.0 Severity: Not Applicable
Keywords: Cc:

Description

The Boost.DLL library uses the following objects:

  1. boost::filesystem::path
  2. boost::shared_ptr
  3. boost::function

Can these be converted to use the standard versions if they are available on the compiler being used. For example, use these:

  1. std::experimental::filesystem::path or std::filesystem::path (C++17)
  2. std::shared_ptr
  3. std::function

Attachments (0)

Change History (3)

comment:1 Changed 18 months ago by lcarreon@…

Sorry, boost::function is not used by the library internally therefore there is no need to convert it to std::function.

comment:2 Changed 18 months ago by Michel Morin

Owner: set to Antony Polukhin

comment:3 Changed 16 months ago by Antony Polukhin

It's the Boost policy to use Boost libraries if possible. Switching between Boost/Standard? libraries depending on the compiler version or platform is not what people want. Such switching will break users code.

If you wish to use Standard versions depending on some preprocessor macro (like BOOD_DLL_USE_STANDARD_LIBRARY_CLASSES=1), then I won't have time in the nearest future to do it myself, but I'm open to pull requests.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Antony Polukhin.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.