MCPcopy Create free account
hub / github.com/SheafificationOfG/based-cpp / Impl

Class Impl

gil/gil.impl.hpp:304–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302namespace _impl_ {
303template <typename T> struct Vector {
304 template <T... ts> struct Impl {
305 template <template <T...> typename W, T... more>
306 constexpr auto operator+(W<more...>) const noexcept {
307 return Impl<ts..., more...>{};
308 }
309 template <template <auto> typename V, auto i>
310 constexpr auto operator[](V<i>) const noexcept {
311 return tfunc::Get<Impl<ts...>, i>{};
312 }
313 template <template <auto> typename V, auto i, template <auto> typename Y,
314 T t>
315 constexpr auto operator()(V<i>, Y<t>) const noexcept {
316 return tfunc::Set<Impl<ts...>, i, Y<t>>{};
317 }
318 };
319};
320} // namespace _impl_
321

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected