Hi Aditya! I think this will work. You should return a unique_ptr out of the construction routine and use make_unique instead of new. Trying to come up with a way that doesn't require a unique_ptr here, but I'm not coming up with one. Thanks! -eric http://reviews.llvm.org/D5850