| 101 | }; |
| 102 | |
| 103 | template <typename Name, typename Value> struct BoundVar { |
| 104 | Name name; |
| 105 | Value value; |
| 106 | |
| 107 | constexpr operator Value() const noexcept { return value; } |
| 108 | constexpr auto operator&() const noexcept { return Ref{name}; } |
| 109 | constexpr auto operator*() const noexcept { return value; } |
| 110 | constexpr auto operator[](auto... params) const noexcept { |
| 111 | return Var{bundle::Bundle{name, params...}}; |
| 112 | } |
| 113 | }; |
| 114 | |
| 115 | template <typename Var, typename Expr> struct Assign { |
| 116 | Var var; |
nothing calls this directly
no outgoing calls
no test coverage detected