I suggest you consider the following:
a) See the documentation for the Boost concept validation library. This documentation shows how to create a class that can be used in your code to make sure that the type really matches the requirements of the concept you want to define. You use it as follows:
template<typename T> my_class{ MyConcept(T);
FYI is a one-to-one correspondence between the elements used to create the concept validation class and the Lite concept. Therefore, when lite functions actually work, the transition should be easy.
b) Now use DOxygen to document the MyConcept validation class !!!
c) Use DOxygen / tparam in my_class documentation to reference MyConcept
c) So now you have exactly what you are asking for !!! - A separate page for your concept and the ability to link to it from the entire class that requires this concept.
source share