add dev-libs/boost with static-libs support via an additional ebuild
[nodoc-overlay.git] / dev-libs / boost / files / boost-1.91.0-spirit-test.patch
1
2 x3/attribute_type_check.cpp:34:42: error: 'decay_t' is not a member of 'boost'; did you mean 'std::decay_t'?
3 34 | static inline checked_attr_parser<boost::decay_t<Value>, Expected>
4 | ^~~~~~~
5
6 --- a/libs/spirit/test/x3/attribute_type_check.cpp
7 +++ b/libs/spirit/test/x3/attribute_type_check.cpp
8 @@ -31,7 +31,7 @@ struct checked_attr_parser : x3::attr_pa
9 };
10
11 template <typename Expected, typename Value>
12 -static inline checked_attr_parser<boost::decay_t<Value>, Expected>
13 +static inline checked_attr_parser<std::decay_t<Value>, Expected>
14 checked_attr(Value&& value) { return { std::forward<Value>(value) }; }
15
16 // instantiate our type checker