Refactoring #1366

Feature #1290: === Core: framework ===

Revise boost libraries usage

Added by pospelov over 3 years ago. Updated about 3 years ago.

Status:ResolvedStart date:04 Mar 2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Check for boost use cases in the code, remove boost dependency where possible

  • remove boost smart pointers if any [done]
  • Try to get rid of date_time, filesystem, regex
CMake [see also #1371]:
  • remove unnecessary boost libraries from target_link_libraries directives
  • take care of Windows/MacOS installers to not to include obsolete libraries in the bundle
The main obstacle to get rid from boost completely will be
  • boost_geometry (is point inside polygon or not)
  • boost iostreams (on the fly gzip and bzip)
  • program options (nice functionality, but we can live without it)

History

#1 Updated by jmfisher over 3 years ago

As of the merge of swig-bindings into develop, boost::shared_ptr has been replaced by std::shared_ptr throughout

#2 Updated by wuttke over 3 years ago

  • Description updated (diff)
  • Parent task changed from #418 to #1290

#3 Updated by jmfisher over 3 years ago

boost::scoped_ptr replaced with std::unique_ptr and (where possible) const std::unique_ptr

#4 Updated by jmfisher over 3 years ago

boost::regex replaced by std::regex

#5 Updated by jmfisher over 3 years ago

boost::bind and boost::function replaced by their C++11 equivalents

#6 Updated by wuttke about 3 years ago

  • Status changed from Backlog to Sprint

#7 Updated by wuttke about 3 years ago

  • Status changed from Sprint to Resolved

Good progress has been made, thanks Jonathan. There is no need to get rid of all of Boost.

#8 Updated by wuttke about 3 years ago

Only now enacted the deletion of boost components regex and thread in cmake/modules/SearchInstalledSoftware.cmake.

#9 Updated by wuttke about 3 years ago

Migration of regex from Boost to regex is suspended because compilers are not ready. => commit d14b964d17bb

Also available in: Atom PDF