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

Function Documentation

def test_copy_move.test_lacking_copy_ctor ( )

Definition at line 6 of file test_copy_move.py.

def test_copy_move.test_lacking_move_ctor ( )

Definition at line 12 of file test_copy_move.py.

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.

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

Definition at line 70 of file test_copy_move.py.

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 41 of file test_copy_move.py.

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

Definition at line 107 of file test_copy_move.py.

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

Definition at line 97 of file test_copy_move.py.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:59:21