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 ()
 

Function Documentation

◆ test_lacking_copy_ctor()

def test_copy_move.test_lacking_copy_ctor ( )

Definition at line 6 of file test_copy_move.py.

◆ test_lacking_move_ctor()

def test_copy_move.test_lacking_move_ctor ( )

Definition at line 12 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 18 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 78 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 45 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 119 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 109 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 128 of file test_copy_move.py.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31