You can easily generate definitions for existing declarations in C++ by pressing &shortcut:CIDR.Lang.Cpp.GenerateDefinitions; (Code | Generate Definitions).

When creating definitions, AppCode detects the patterns that you use in the project:

When you switch from one pattern to another (by using the Generate in-place option), CLion picks it up and behaves accordingly next time you use code generation.

Generate definitions