Skip to content

C++17 and no boost

Afonso Mukai requested to merge cpp17_and_no_boost into master

Created by: matthew-d-jones

Issue

DM-1842

Please merge conan recipe update first: https://github.com/ess-dmsc/conan-h5cpp done

Description of work

Use boostless build of h5cpp and update to C++17. Replace non-std implementations of variant and optional with std implementation.

Out of curiosity I tested build time with boost and boostless builds of h5cpp. Total clean build time of filewriter and unit tests:

Build Threads With boost Without Boost
16 1m16s 1m12s
2 5m20s 5m6s

This is a consistent ~5% decrease, our Jenkins builds will also save some time in not having to download the boost module packages from the conan server.

Nominate for Group Code Review

  • Nominate for code review

Reminder

Changes should be documented in changes.md

Merge request reports