Back to all

cpp-interface-purpose-comments

by hzqst

00Feb 6, 2026Visit Source
Add a standard Purpose comment above each pure virtual method declaration in C++ interface header files (.h/.hpp). Use when asked to batch annotate interface classes or enforce a consistent comment block above `virtual ... = 0;` declarations.