Check whether a function is a copy constructor.
Synopsis
Declared in <mrdocs/Metadata/Symbol/Function.hpp>
bool
isCopyConstructor(FunctionSymbol const& func);
Description
A copy constructor is a non‐template constructor whose first parameter is an lvalue reference to the possibly cv‐qualified record type, with all remaining parameters having defaults ([class.copy.ctor]).
Return Value
Whether func is a copy constructor.
Parameters
| Name | Description |
|---|---|
func |
The function to check. |
Created with MrDocs