Create scoped_cptr to replace scoped_ptr_sfree
[alexxy/gromacs.git] / cmake / gmxTestCXX11.cmake
index eaa8888e48adaac75fec32ac6e292130000ceccb..b20f86fc4c1058a3888ebb3d322ed967c695c748 100644 (file)
@@ -59,6 +59,7 @@ struct VarList {
   typedef VarList<Tail...> VarListTail;
   typedef std::pair<Head, typename VarListTail::ListType> ListType;
 };
+class a { explicit operator bool() {return true;} };
 int main() {
   typedef std::unique_ptr<int> intPointer;
   intPointer p(new int(10));