mrdocs::isCopyAssignment

Check whether a function is a copy assignment operator.

Synopsis

bool
isCopyAssignment(FunctionSymbol const& func);

Description

A copy assignment operator is a non‐template operator= whose parameter is of type X, X&, const X&, volatile X&, or const volatile X& ([class.copy.assign]).

Return Value

Whether func is a copy assignment operator.

Parameters

Name Description

func

The function to check.

Created with MrDocs