Boost logo

Boost :

From: Gero Peterhoff (g.peterhoff_at_[hidden])
Date: 2022-07-10 16:25:00


Hello,
if i include <boost/static_string.hpp> i get errors in std::variant:

/usr/include/c++/12/variant:774:72: Fehler: Templateargument 4 ist ungültig
  774 | void_t<decltype(_Arr<_Ti>{{std::declval<_Tp>()}})>>
      | ^~
/usr/include/c++/12/variant:804:76: Fehler: Templateargument 3 ist ungültig
  804 | struct __accepted_index<_Tp, _Variant, void_t<_FUN_type<_Tp, _Variant>>>
      | ^

Can you retrace that?
boost 1.79
gcc 12.1 -std=gnu++2b
openSuse Tumbleweed

thx
Gero




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk