biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create scoped_cptr to replace scoped_ptr_sfree
[alexxy/gromacs.git]
/
cmake
/
gmxTestCXX11.cmake
diff --git
a/cmake/gmxTestCXX11.cmake
b/cmake/gmxTestCXX11.cmake
index eaa8888e48adaac75fec32ac6e292130000ceccb..b20f86fc4c1058a3888ebb3d322ed967c695c748 100644
(file)
--- a/
cmake/gmxTestCXX11.cmake
+++ b/
cmake/gmxTestCXX11.cmake
@@
-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));