pficommon 4.0.0 Release Notes
Date: 2020/11/27
Download
Download Link: https://github.com/retrieva/pficommon/releases/download/4.0.0/pficommon-4.0.0.tar.bz2
Overview
pficommon 4.0.0:
- supports gcc >= 4.8.5 and discards support of C++03. Programs which depends on pficommon 4.0.0 is no longer able to be compiled with
-std=c++03
option. - makes following functions and classes deprecated, which are introduced in STL after C++11.
pfi::lang::bind
pfi::lang::cref
pfi::lang::function
pfi::lang::mem_fn
pfi::lang::reference_wrapper
pfi::lang::ref
pfi::lang::shared_ptr
pfi::data::unordered_map
pfi::data::unordered_set
- breaks API compatibility with 3.0.1. Please recompile and relink your programs using pficommon when upgrading pficommon to 4.0.0.
Improvements
- #217 Added move constructor and move assignment operator to
pfi::system::mmapper
so that clang++ can compile it - #219 Fixed some compilation errors on clang++
Backward incompatibility
- #206 Replaced
std::auto_ptr
withstd::unique_ptr
- #211 Deleted dependency to
std::tr1::unordered_map
andstd::tr1::unordered_set
- #212 Deleted dependency to
std::tr1::functional
- #213 Deleted dependency to
std::tr1::memory
- #216 Deleted
pfi::visualization
- #218 Replaced implementation of
pfi::lang::reference_wrapper
withstd::reference_wrapper
, deletedpfi::lang::get_pointer(const pfi::lang::reference_wrapper<T>)
and clarfiedpfi::lang::bind
pfi::lang::mem_fn
pfi::lang::reference_wrapper
pfi:lang::ref
pfi::lang::cref
are deprecated - #220 The first template parameter of
pfi::lang::enable_if
andpfi::lang::disable_if
has changed fromclass
tobool
- #221 Replaced implementation of
pfi::lang::algorithm::copy_if
withstd::algorithm::copy_if
and clarifiedpfi::lang::algorithm::copy_if
is deprecated.
Documentation
- #215 Updated supported gcc version in README.md, and clarified
pfi::data::unordered_map
andpfi::data::unordered_set
are deprecated, etc - #222 Fixed a typo and a wrong function name in documents, and clarified that
pfi::lang::function
is deprecated, etc