Functions
test_copy_move Namespace Reference

Functions

def test_lacking_copy_ctor ()
 
def test_lacking_move_ctor ()
 
def test_move_and_copy_casts ()
 
def test_move_and_copy_load_optional ()
 
def test_move_and_copy_loads ()
 
def test_move_fallback ()
 
def test_private_op_new ()
 
def test_pytype_rvalue_cast ()
 
def test_unusual_op_ref ()
 

Function Documentation

◆ test_lacking_copy_ctor()

def test_copy_move.test_lacking_copy_ctor ( )

Definition at line 8 of file test_copy_move.py.

◆ test_lacking_move_ctor()

def test_copy_move.test_lacking_move_ctor ( )

Definition at line 14 of file test_copy_move.py.

◆ test_move_and_copy_casts()

def test_copy_move.test_move_and_copy_casts ( )
Cast some values in C++ via custom type casters and count the number of moves/copies.

Definition at line 20 of file test_copy_move.py.

◆ test_move_and_copy_load_optional()

def test_copy_move.test_move_and_copy_load_optional ( )
Tests move/copy loads of std::optional arguments

Definition at line 80 of file test_copy_move.py.

◆ test_move_and_copy_loads()

def test_copy_move.test_move_and_copy_loads ( )
Call some functions that load arguments via custom type casters and count the number of
moves/copies.

Definition at line 47 of file test_copy_move.py.

◆ test_move_fallback()

def test_copy_move.test_move_fallback ( )
#389: rvp::move should fall-through to copy on non-movable objects

Definition at line 121 of file test_copy_move.py.

◆ test_private_op_new()

def test_copy_move.test_private_op_new ( )
An object with a private `operator new` cannot be returned by value

Definition at line 111 of file test_copy_move.py.

◆ test_pytype_rvalue_cast()

def test_copy_move.test_pytype_rvalue_cast ( )
Make sure that cast from pytype rvalue to other pytype works

Definition at line 130 of file test_copy_move.py.

◆ test_unusual_op_ref()

def test_copy_move.test_unusual_op_ref ( )

Definition at line 137 of file test_copy_move.py.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:53:19