Debian Codegraph @

pypy/module/_cppyy/test/cpp11features.cxx

raw symbols SCIP
1 #if __cplusplus >= 201103L
2
3 #include "cpp11features.h"
4
5
6 // for std::shared_ptr<> testing
7 int TestSharedPtr::s_counter = 0;
8
9 std::shared_ptr<TestSharedPtr> create_shared_ptr_instance() {
10 return std::shared_ptr<TestSharedPtr>(new TestSharedPtr);
11 }
12
13
14 // for move ctors etc.
15 int TestMoving1::s_move_counter = 0;
16 int TestMoving2::s_move_counter = 0;
17
18 #endif // c++11 and later