Opened 2 years ago

Closed 2 months ago

#12265 closed Feature Requests (duplicate)

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:


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

Change History (4)

comment:1 Changed 2 years 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 2 years ago by Michel Morin

Owner: set to Antony Polukhin

comment:3 Changed 2 years 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.

comment:4 Changed 2 months ago by Antony Polukhin

Resolution: duplicate
Status: newclosed

Closing in favour of (Boost migrates from trackk to github right now, so this issue will be hosted on github now)

Note: See TracTickets for help on using tickets.