| 69 | |
| 70 | template <class TExpr> |
| 71 | class expr_wrapper final { |
| 72 | static_assert(std::is_empty<TExpr>{}); |
| 73 | |
| 74 | public: |
| 75 | template <class... Ts> |
| 76 | decltype(auto) operator()(Ts &&... args) const { |
| 77 | return reinterpret_cast<const TExpr &>(*this)(std::forward<Ts>(args)...); |
| 78 | } |
| 79 | }; |
| 80 | |
| 81 | /*! Same as std::exchange() but is guaranteed constexpr !*/ |
| 82 | template<class T, class U> |
nothing calls this directly
no outgoing calls
no test coverage detected