
16 Dec
2024
16 Dec
'24
12:05 p.m.
пн, 16 дек. 2024 г. в 14:57, Janko Dedic via Boost
What is the point of vocabulary types like optional, variant and span if you cannot use them in library interfaces? Boost is "not std" and std is "too new", so is the solution to just give up? IMO Boost libraries should just use Boost vocabulary types, and those should have some convenience functions to interoperate with std types.
Boost library maintainers have to consider the cost of adding dependencies, even if those dependencies are other Boost libraries. That being said, system::error_code is interoperable with std::error_code, so I got that benefit too.