Handle default and delete for function (C++11)