C++ wrapper: get rid of the Boost dependency
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 13 May 2025 21:40:40 +0000 (23:40 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 10 Jun 2025 15:10:07 +0000 (17:10 +0200)
commitcfaec73e0a5ad9d05d62f1f5c393ab1c59ba771b
treee5c2d248a534ef9d99a3c58e4760bb779cf585c4
parent12a8de0daba0816227c7010fc1b84d0abf70a500
C++ wrapper: get rid of the Boost dependency

The C++ wrapper relies on boost::shared_ptr, likely due to the lack of a
standard smart pointer at the time of the C++ wrapper implementation.
However, std::shared_ptr has been available by default in GCC since
version 6.1, and even with GCC 4.7 when explicitely using the -std=c++11
option.

This commit replaces all usages of boost::shared_ptr with
std::shared_ptr, eliminating the dependency on the Boost library. Since
the smart pointer is only used in private member variables and both
types have the same size, this change does not affect the ABI.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
CMakeLists.txt
README.build
examples/CMakeLists.txt
ftdipp/CMakeLists.txt
ftdipp/ftdi.hpp