#include <pybind11/stl.h>
#include "constructor_stats.h"
#include "local_bindings.h"
#include "pybind11_tests.h"
#include <utility>
Go to the source code of this file.
|
using | DoesntBreak1 = py::class_< BreaksBase< 1 >, std::unique_ptr< BreaksBase< 1 > >, BreaksTramp< 1 > > |
|
using | DoesntBreak2 = py::class_< BreaksBase< 2 >, BreaksTramp< 2 >, std::unique_ptr< BreaksBase< 2 > >> |
|
using | DoesntBreak3 = py::class_< BreaksBase< 3 >, std::unique_ptr< BreaksBase< 3 > >> |
|
using | DoesntBreak4 = py::class_< BreaksBase< 4 >, BreaksTramp< 4 > > |
|
using | DoesntBreak5 = py::class_< BreaksBase< 5 > > |
|
using | DoesntBreak6 = py::class_< BreaksBase< 6 >, std::shared_ptr< BreaksBase< 6 > >, BreaksTramp< 6 > > |
|
using | DoesntBreak7 = py::class_< BreaksBase< 7 >, BreaksTramp< 7 >, std::shared_ptr< BreaksBase< 7 > >> |
|
using | DoesntBreak8 = py::class_< BreaksBase< 8 >, std::shared_ptr< BreaksBase< 8 > >> |
|
◆ CHECK_ALIAS
Value:static_assert( \
DoesntBreak##N::has_alias \
"DoesntBreak" #
N " has wrong type_alias!")
Definition at line 551 of file test_class.cpp.
◆ CHECK_BASE
Value: "DoesntBreak" #
N " has wrong type!")
Definition at line 540 of file test_class.cpp.
◆ CHECK_BROKEN
#define CHECK_BROKEN |
( |
|
N | ) |
|
◆ CHECK_HOLDER
#define CHECK_HOLDER |
( |
|
N, |
|
|
|
TYPE |
|
) |
| |
Value:static_assert(std::is_same<typename DoesntBreak##N::holder_type, \
"DoesntBreak" #
N " has wrong holder_type!")
Definition at line 568 of file test_class.cpp.
◆ CHECK_NOALIAS
#define CHECK_NOALIAS |
( |
|
N | ) |
|
Value:static_assert(!DoesntBreak##N::has_alias \
"DoesntBreak" #
N " has type alias, but shouldn't!")
Definition at line 556 of file test_class.cpp.
◆ DoesntBreak1
◆ DoesntBreak2
◆ DoesntBreak3
◆ DoesntBreak4
◆ DoesntBreak5
◆ DoesntBreak6
◆ DoesntBreak7
◆ DoesntBreak8
◆ CHECK_ALIAS() [1/5]
◆ CHECK_ALIAS() [2/5]
◆ CHECK_ALIAS() [3/5]
◆ CHECK_ALIAS() [4/5]
◆ CHECK_ALIAS() [5/5]
◆ CHECK_BASE() [1/8]
◆ CHECK_BASE() [2/8]
◆ CHECK_BASE() [3/8]
◆ CHECK_BASE() [4/8]
◆ CHECK_BASE() [5/8]
◆ CHECK_BASE() [6/8]
◆ CHECK_BASE() [7/8]
◆ CHECK_BASE() [8/8]
◆ CHECK_HOLDER() [1/8]
CHECK_HOLDER |
( |
1 |
, |
|
|
unique |
|
|
) |
| |
◆ CHECK_HOLDER() [2/8]
CHECK_HOLDER |
( |
2 |
, |
|
|
unique |
|
|
) |
| |
◆ CHECK_HOLDER() [3/8]
CHECK_HOLDER |
( |
3 |
, |
|
|
unique |
|
|
) |
| |
◆ CHECK_HOLDER() [4/8]
CHECK_HOLDER |
( |
4 |
, |
|
|
unique |
|
|
) |
| |
◆ CHECK_HOLDER() [5/8]
CHECK_HOLDER |
( |
5 |
, |
|
|
unique |
|
|
) |
| |
◆ CHECK_HOLDER() [6/8]
CHECK_HOLDER |
( |
6 |
, |
|
|
shared |
|
|
) |
| |
◆ CHECK_HOLDER() [7/8]
CHECK_HOLDER |
( |
7 |
, |
|
|
shared |
|
|
) |
| |
◆ CHECK_HOLDER() [8/8]
CHECK_HOLDER |
( |
8 |
, |
|
|
shared |
|
|
) |
| |
◆ CHECK_NOALIAS() [1/3]
◆ CHECK_NOALIAS() [2/3]
◆ CHECK_NOALIAS() [3/3]
◆ TEST_SUBMODULE()