[#mrdocs-isCopyConstructor] = xref:mrdocs.adoc[mrdocs]::isCopyConstructor :relfileprefix: ../ :mrdocs: Check whether a function is a copy constructor. == Synopsis Declared in `<mrdocs/Metadata/Symbol/Function.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isCopyConstructor(xref:mrdocs/FunctionSymbol.adoc[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 [cols="1,4"] |=== | Name| Description | *func* | The function to check. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#