#pragma once #include "constraints.hh" namespace borrow { #if 0 //TODO: Eh, rethink this when brain not fogged... template P = T*> struct Borrow { using traits = std::pointer_traits

; using type = T; using pointer_type = P; using pointer = traits::pointer; static_assert(std::is_same_v, "Invalid `deref_to P` (element_type != T)"); }; #endif }