Skip to content

Commit b07b2c8

Browse files
authored
Merge pull request #431 from jorisv/topic/add_std_variant
Add `std::variant` support
2 parents 61859c2 + a27795c commit b07b2c8

13 files changed

+549
-365
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
88

99
### Added
1010
- Support for `Eigen::SparseMatrix` types ([#426](https://github.com/stack-of-tasks/eigenpy/pull/426))
11-
- Support for `boost::variant` types with `BoostVariantConvertor` ([#430](https://github.com/stack-of-tasks/eigenpy/pull/430))
11+
- Support for `boost::variant` types with `VariantConverter` ([#430](https://github.com/stack-of-tasks/eigenpy/pull/430))
12+
- Support for `std::variant` types with `VariantConverter` ([#431](https://github.com/stack-of-tasks/eigenpy/pull/431))
1213

1314
### Fixed
1415
- Fix the issue of missing exposition of Eigen types with __int64 scalar type ([#426](https://github.com/stack-of-tasks/eigenpy/pull/426))

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ set(${PROJECT_NAME}_HEADERS
166166
include/eigenpy/sparse/eigen-from-python.hpp
167167
include/eigenpy/scipy-allocator.hpp
168168
include/eigenpy/scipy-type.hpp
169+
include/eigenpy/variant.hpp
169170
include/eigenpy/swig.hpp
170171
include/eigenpy/version.hpp)
171172

include/eigenpy/boost-variant.hpp

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)