7.7.2.7. Module axivion.ir.common.routines.special_routines¶
Functions¶
|
Returns True if the input LIR node is a copy assignment operator; False otherwise. |
|
Returns True if the input LIR node is a copy constructor; False otherwise. |
|
Returns True if the input LIR node is a default constructor; False otherwise. |
It's possible to define operator delete with an argument of type std::destroying_delete_t. |
|
|
Returns True if the input LIR node is a move assignment operator; False otherwise. |
|
Returns True if the input LIR node is a move constructor; False otherwise. |
is_copy_assignment¶
- special_routines.is_copy_assignment()¶
Returns True if the input LIR node is a copy assignment operator; False otherwise.
- Parameters:
node (
typing.Union[Logical_IR_Root,axivion.ir.NoNode[Logical_IR_Root]])- Return type:
typing.TypeGuard[Method]
is_copy_constructor¶
- special_routines.is_copy_constructor()¶
Returns True if the input LIR node is a copy constructor; False otherwise.
- Parameters:
node (
typing.Union[Logical_IR_Root,axivion.ir.NoNode[Logical_IR_Root]])- Return type:
bool
is_default_constructor¶
- special_routines.is_default_constructor()¶
Returns True if the input LIR node is a default constructor; False otherwise.
- Parameters:
node (
typing.Union[Logical_IR_Root,axivion.ir.NoNode[Logical_IR_Root]])- Return type:
bool
is_destroying_operator_delete¶
- special_routines.is_destroying_operator_delete()¶
It’s possible to define operator delete with an argument of type std::destroying_delete_t. No destructor calls are generated for the use of delete referring to such a destroying delete. Note that this checks the function, not the use of the keyword delete as expression.
- Parameters:
node (
axivion.ir.Node)- Return type:
bool
is_move_assignment¶
- special_routines.is_move_assignment()¶
Returns True if the input LIR node is a move assignment operator; False otherwise.
- Parameters:
node (
typing.Union[Logical_IR_Root,axivion.ir.NoNode[Logical_IR_Root]])- Return type:
bool
is_move_constructor¶
- special_routines.is_move_constructor()¶
Returns True if the input LIR node is a move constructor; False otherwise.
- Parameters:
node (
typing.Union[Logical_IR_Root,axivion.ir.NoNode[Logical_IR_Root]])- Return type:
bool