title: Is it possible to adapt unique_ptr for use in plain c?
body: <p>Is it possible to adapt unique_ptr for plain c? </p>
  
  <p>Perhaps if there is a way of simulating calls to a home made "constructor/destructor" when calling malloc/free? </p>
  
  <p>Is it doable? Or is it just a silly idea?</p>