mrdocs::isSpecialMemberFunction

Check whether a function is a special member function.

Synopsis

bool
isSpecialMemberFunction(FunctionSymbol const& func);

Description

A special member function is a default constructor, copy/move constructor, copy/move assignment operator, or destructor ([special]).

Return Value

Whether func is a special member function.

Parameters

Name Description

func

The function to check.

Created with MrDocs